fix segfault
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@430 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
4f34acb1f3
commit
6d6b52a294
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ int MwPending(MwWidget handle) {
|
|||
for(i = 0; i < arrlen(handle->children); i++) {
|
||||
if(MwPending(handle->children[i])) return 1;
|
||||
}
|
||||
return (arrlen(handle->destroy_queue) > 0 ? 1 : 0) || MwLLPending(handle->lowlevel);
|
||||
return (arrlen(handle->destroy_queue) > 0 ? 1 : 0) || (handle->widget_class == NULL ? 0 : MwLLPending(handle->lowlevel));
|
||||
}
|
||||
|
||||
void MwLoop(MwWidget handle) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue