mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
fix segfault
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@430 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user