From 85ebc26cb7412a75a3639b56c0b840333305cd65 Mon Sep 17 00:00:00 2001 From: IgorA Date: Fri, 17 Sep 2010 18:12:21 +0000 Subject: [PATCH] update 'fasm' git-svn-id: svn://kolibrios.org@1620 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/fasm/trunk/fasm.asm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/programs/develop/fasm/trunk/fasm.asm b/programs/develop/fasm/trunk/fasm.asm index 63cb56a12d..7cae1f64de 100644 --- a/programs/develop/fasm/trunk/fasm.asm +++ b/programs/develop/fasm/trunk/fasm.asm @@ -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] @@: