mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-07 11:01:57 +08:00
fix a potential bug: only increase nr_mask_rects for not empty mask rectangle
This commit is contained in:
@@ -4599,10 +4599,10 @@ BOOL GUIAPI ServerGetWinZNodeRegion (MG_Layer* layer, int idx_znode,
|
||||
goto __mg_err_ret;
|
||||
}
|
||||
}
|
||||
nr_mask_rects ++;
|
||||
}
|
||||
|
||||
idx = maskrect->next;
|
||||
nr_mask_rects ++;
|
||||
}
|
||||
|
||||
if (nr_mask_rects == 0) {
|
||||
|
||||
Reference in New Issue
Block a user