mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-25 02:33:59 +08:00
fix compilation errors
This commit is contained in:
@@ -1762,8 +1762,8 @@ int __mg_do_change_topmost_layer (void)
|
||||
nodes = GET_ZORDERNODE(__mg_zorder_info);
|
||||
nodes [0].age++;
|
||||
|
||||
while (next = __kernel_get_next_znode (__mg_zorder_info, from) > 0) {
|
||||
nodes [i].age++;
|
||||
while ((next = __kernel_get_next_znode (__mg_zorder_info, from)) > 0) {
|
||||
nodes [next].age++;
|
||||
from = next;
|
||||
}
|
||||
|
||||
|
||||
@@ -2321,7 +2321,7 @@ static int AllocZOrderNodeEx (ZORDERINFO* zi, int cli, HWND hwnd, HWND main_win,
|
||||
nodes [free_slot].priv_data = NULL;
|
||||
|
||||
#ifndef _MGSCHEMA_COMPOSITING
|
||||
if (idx_mask_rect == 0 && (flags & ZOF_TW_TROUNDCNS || flags & ZOF_TW_BROUNDCNS)) {
|
||||
if ((flags & ZOF_TW_TROUNDCNS || flags & ZOF_TW_BROUNDCNS)) {
|
||||
RECT cli_rect;
|
||||
|
||||
SetRect (&cli_rect, 0, 0, RECTW(nodes[free_slot].rc),
|
||||
|
||||
Reference in New Issue
Block a user