FASM small bugfix

git-svn-id: svn://kolibrios.org@2093 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2011-08-21 18:38:08 +00:00
parent e407dd7a26
commit f9e03482b6

View File

@ -195,7 +195,7 @@ draw_window:
mov ecx,90*65536+260 mov ecx,90*65536+260
mov edx,[sc.work] mov edx,[sc.work]
or edx,0x33000000 or edx,0x33000000
mov edi,title ; Draw Window Label Text mov edi,fullpath_open ;title ; Draw Window Label Text
mcall mcall
mcall 9,PROCESSINFO,-1 mcall 9,PROCESSINFO,-1
@ -269,7 +269,7 @@ draw_window:
call draw_messages call draw_messages
mov eax,dword[pinfo.box.width] mov eax,dword [pinfo.box.width]
sub eax,127 sub eax,127
mov dword[edit1.width],eax ; óñòàíàâëèâàåì øèðèíó òåêñòîâûõ ïîëåé mov dword[edit1.width],eax ; óñòàíàâëèâàåì øèðèíó òåêñòîâûõ ïîëåé
mov dword[edit2.width],eax mov dword[edit2.width],eax
@ -297,8 +297,8 @@ fun_opn_dlg: ;
mov [OpenDialog_data.type],0 mov [OpenDialog_data.type],0
xor al,al xor al,al
mov edi,dword[edit3.text] mov edi,dword [edit3.text]
mov ecx,dword[edit3.max] mov ecx,dword [edit3.max]
cld cld
repne scasb repne scasb
cmp byte[edi-2],'/' cmp byte[edi-2],'/'
@ -311,9 +311,9 @@ fun_opn_dlg: ;
je @f je @f
xor al,al xor al,al
mov edi,dword[edit3.text] mov edi,dword [edit3.text]
mov ebx,edi ;copy text pointer mov ebx,edi ;copy text pointer
mov ecx,dword[edit3.max] mov ecx,dword [edit3.max]
cld cld
repne scasb repne scasb
cmp byte[edi-2],'/' cmp byte[edi-2],'/'
@ -343,7 +343,7 @@ fun_opn_dlg: ;
test eax,eax test eax,eax
jnz .cycle jnz .cycle
sub esi,4 sub esi,5
cmp esi,[edit2.text] cmp esi,[edit2.text]
jle .short_fn jle .short_fn
@ -626,10 +626,8 @@ display_bytes_count:
je @f je @f
mov edx,outfile mov edx,outfile
call make_fullpaths call make_fullpaths
mov eax,70
mov ebx,file_info_start
xor ecx,ecx xor ecx,ecx
mcall mcall 70,file_info_start
@@: @@:
jmp exit_program jmp exit_program
;--------------------------------------------------------------------- ;---------------------------------------------------------------------