better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@74 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
a65d77ae2d
commit
32d013241a
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue