update 'fasm'
git-svn-id: svn://kolibrios.org@1620 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
37863c906d
commit
85ebc26cb7
@ -338,8 +338,29 @@ fun_opn_dlg: ;
|
||||
push dword edit1
|
||||
call dword [edit_box_set_text]
|
||||
|
||||
push dword [OpenDialog_data.filename_area]
|
||||
push dword edit2
|
||||
call dword [edit_box_set_text]
|
||||
|
||||
mov esi,[edit2.text]
|
||||
xor eax,eax
|
||||
cld
|
||||
.cycle:
|
||||
lodsb
|
||||
test eax,eax
|
||||
jnz .cycle
|
||||
sub esi,4
|
||||
cmp esi,[edit2.text]
|
||||
jle .short_fn
|
||||
mov byte[esi],0
|
||||
sub dword [edit2.size],4
|
||||
sub dword [edit2.pos],4
|
||||
.short_fn:
|
||||
|
||||
push dword edit1
|
||||
call dword [edit_box_draw]
|
||||
push dword edit2
|
||||
call dword [edit_box_draw]
|
||||
push dword edit3
|
||||
call dword [edit_box_draw]
|
||||
@@:
|
||||
|
Loading…
Reference in New Issue
Block a user