Small fix for opendial.mac

git-svn-id: svn://kolibrios.org@1469 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2010-05-28 10:12:03 +00:00
parent f8c3f54152
commit de9a92906c

View File

@ -109,9 +109,6 @@ OpenDialog_exit
add edi,4096-256 add edi,4096-256
mov esi,od_filename_area mov esi,od_filename_area
; xor eax,eax
; mov al,[esi]
; test eax,eax
test esi,esi test esi,esi
jnz @f jnz @f
mov esi,.null mov esi,.null
@ -134,15 +131,14 @@ OpenDialog_exit
shr eax,31 shr eax,31
test eax,eax test eax,eax
jnz .1 jnz .1
jmp .still
.red:
pusha
call od_draw_window
popa
.still: .still:
mcall 23,50 mcall 23,50
cmp eax,1 cmp eax,1
je .red jne @f
pusha
call od_draw_window
popa
@@:
mov eax,od_com_area mov eax,od_com_area
movzx ebx,word [eax] movzx ebx,word [eax]
test ebx,ebx test ebx,ebx