From 49300bb7780ddc9012b7f9964909b483d5e0b6a5 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Thu, 18 Aug 2011 13:50:33 +0000 Subject: [PATCH] OpenDialog - checking for "rolled up" window git-svn-id: svn://kolibrios.org@2055 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/fs/opendial/opendial.asm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/programs/fs/opendial/opendial.asm b/programs/fs/opendial/opendial.asm index 0a65cd77f5..e8a2c32446 100644 --- a/programs/fs/opendial/opendial.asm +++ b/programs/fs/opendial/opendial.asm @@ -1261,7 +1261,11 @@ draw_window: ; add ecx,4096+4+4 call type_title call get_window_param - + + mov eax,[procinfo+70] ;status of window + test eax,100b + jne .end + mov eax,[window_high] sub eax,25+45 mov [file_browser_data_1.size_y],ax @@ -1390,6 +1394,7 @@ draw_window: ; mcall 47,0x80000,[file_browser_data_1.ini_file_start],<250,0>,0x0 ; mcall 4,<3,420>,0,fb_extension_start,3 +.end: mcall 12,2 ret