From f9e03482b6a05d37e642f094834cf0b14291e385 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sun, 21 Aug 2011 18:38:08 +0000 Subject: [PATCH] FASM small bugfix git-svn-id: svn://kolibrios.org@2093 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/fasm/trunk/fasm.asm | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/programs/develop/fasm/trunk/fasm.asm b/programs/develop/fasm/trunk/fasm.asm index 176d21e430..b9bc4accc9 100644 --- a/programs/develop/fasm/trunk/fasm.asm +++ b/programs/develop/fasm/trunk/fasm.asm @@ -195,7 +195,7 @@ draw_window: mov ecx,90*65536+260 mov edx,[sc.work] or edx,0x33000000 - mov edi,title ; Draw Window Label Text + mov edi,fullpath_open ;title ; Draw Window Label Text mcall mcall 9,PROCESSINFO,-1 @@ -269,7 +269,7 @@ draw_window: call draw_messages - mov eax,dword[pinfo.box.width] + mov eax,dword [pinfo.box.width] sub eax,127 mov dword[edit1.width],eax ; устанавливаем ширину текстовых полей mov dword[edit2.width],eax @@ -297,8 +297,8 @@ fun_opn_dlg: ; mov [OpenDialog_data.type],0 xor al,al - mov edi,dword[edit3.text] - mov ecx,dword[edit3.max] + mov edi,dword [edit3.text] + mov ecx,dword [edit3.max] cld repne scasb cmp byte[edi-2],'/' @@ -311,9 +311,9 @@ fun_opn_dlg: ; je @f xor al,al - mov edi,dword[edit3.text] + mov edi,dword [edit3.text] mov ebx,edi ;copy text pointer - mov ecx,dword[edit3.max] + mov ecx,dword [edit3.max] cld repne scasb cmp byte[edi-2],'/' @@ -343,7 +343,7 @@ fun_opn_dlg: ; test eax,eax jnz .cycle - sub esi,4 + sub esi,5 cmp esi,[edit2.text] jle .short_fn @@ -626,10 +626,8 @@ display_bytes_count: je @f mov edx,outfile call make_fullpaths - mov eax,70 - mov ebx,file_info_start xor ecx,ecx - mcall + mcall 70,file_info_start @@: jmp exit_program ;---------------------------------------------------------------------