From f7a74bc85b3c5a5709470e776c4317a9eeb9d35b Mon Sep 17 00:00:00 2001 From: gtament Date: Fri, 21 Mar 2014 12:16:10 +0000 Subject: [PATCH] 'Rolled up' fix fo IRCc is rewritten correct git-svn-id: svn://kolibrios.org@4671 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/ircc/gui.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/programs/network/ircc/gui.inc b/programs/network/ircc/gui.inc index b3c44c0c0a..a8d587af83 100644 --- a/programs/network/ircc/gui.inc +++ b/programs/network/ircc/gui.inc @@ -53,10 +53,9 @@ draw_window: ; Completely redraw the window, recalculate all coordinates and add edx, 0x33000000 mov edi, str_programname mcall - mcall 12, 2 - - movsx eax, [thread_info+70] ; skip if window rolled up - test eax, 100b + mcall 12, 2 + + test [thread_info.wnd_state], 100b ; skip if window rolled up jne .exit mov ebx, [xsize]