From de9a92906c8f3b6228b0d37ce6eae145428135b8 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Fri, 28 May 2010 10:12:03 +0000 Subject: [PATCH] Small fix for opendial.mac git-svn-id: svn://kolibrios.org@1469 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../libraries/box_lib/asm/trunk/opendial.mac | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/programs/develop/libraries/box_lib/asm/trunk/opendial.mac b/programs/develop/libraries/box_lib/asm/trunk/opendial.mac index 07f210f065..2104cfe6f3 100644 --- a/programs/develop/libraries/box_lib/asm/trunk/opendial.mac +++ b/programs/develop/libraries/box_lib/asm/trunk/opendial.mac @@ -109,9 +109,6 @@ OpenDialog_exit add edi,4096-256 mov esi,od_filename_area -; xor eax,eax -; mov al,[esi] -; test eax,eax test esi,esi jnz @f mov esi,.null @@ -134,15 +131,14 @@ OpenDialog_exit shr eax,31 test eax,eax jnz .1 - jmp .still -.red: - pusha - call od_draw_window - popa .still: mcall 23,50 cmp eax,1 - je .red + jne @f + pusha + call od_draw_window + popa +@@: mov eax,od_com_area movzx ebx,word [eax] test ebx,ebx