From be23f55152c6505a70c001aaa7eb9052c2748f12 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Wed, 19 Jan 2011 13:43:53 +0000 Subject: [PATCH] Alt+F4 fix. (icon.asm from diamond's last nightbuild) git-svn-id: svn://kolibrios.org@1751 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/icon/trunk/icon.asm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/programs/system/icon/trunk/icon.asm b/programs/system/icon/trunk/icon.asm index 60c2d55fd..fdff48c39 100644 --- a/programs/system/icon/trunk/icon.asm +++ b/programs/system/icon/trunk/icon.asm @@ -25,7 +25,7 @@ ICON_STRIP equ '/sys/ICONSTRP.GIF' dd icon_data+0x30000 ; memory for app dd icon_data+0x30000 ; esp dd I_Param , 0x0 ; I_Param , I_Icon -include '..\..\..\macros.inc' +include '../../../macros.inc' include 'lang.inc' COLOR_ORDER equ MENUETOS include 'gif_lite.inc' @@ -998,6 +998,8 @@ still2: mov al,17 mcall + cmp ah, 2 + jnz still2 mov esi,[ebp+8] mov ebx,1 @@ -1294,13 +1296,13 @@ draw_window2: mov ecx,[ebp+4-2] add ebx,[yw] ; [x start] *65536 + [x size] add ecx,51 ; [y start] *65536 + [y size] - mov edx,0x01000000 ; color of work area RRGGBB,8->color gl + mov edx,0x41000000 ; color of work area RRGGBB,8->color gl mcall mov eax,8 ; button mov ebx,51 mov ecx,50 - mov edx,0x40000001 + mov edx,0x40000002 mcall mov eax,5