diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index 934d34b716..12f053cb16 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -856,12 +856,11 @@ waredraw: ;//////////////////////////////////////////////////////////////////// ;------------------------------------------------------------------------------ ;? Activate window, redrawing if necessary ;------------------------------------------------------------------------------ -; push -1 + push -1 mov eax, [TASK_COUNT] lea eax, [WIN_POS + eax * 2] cmp eax, esi -; pop eax - or eax,-1 + pop eax je .exit ; is it overlapped by another window now?