mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@74 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -128,6 +128,7 @@ void MwDestroyWidget(MwWidget handle) {
|
||||
|
||||
void MwStep(MwWidget handle) {
|
||||
int i;
|
||||
if(setjmp(handle->before_step)) return;
|
||||
for(i = 0; i < arrlen(handle->children); i++) MwStep(handle->children[i]);
|
||||
MwLLNextEvent(handle->lowlevel);
|
||||
}
|
||||
@@ -142,8 +143,6 @@ int MwPending(MwWidget handle) {
|
||||
|
||||
void MwLoop(MwWidget handle) {
|
||||
while(!handle->close) {
|
||||
setjmp(handle->before_step);
|
||||
|
||||
MwStep(handle);
|
||||
|
||||
MwDispatchUserHandler(handle, MwNtickHandler, NULL);
|
||||
|
||||
Reference in New Issue
Block a user