forked from KolibriOS/kolibrios
fix function save file (broken rev 5643)
git-svn-id: svn://kolibrios.org@5918 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
0319574018
commit
8731321eb6
@ -193,35 +193,34 @@ proc ted_but_save_file
|
|||||||
mov [OpenDialog_data.type],1
|
mov [OpenDialog_data.type],1
|
||||||
stdcall [OpenDialog_Start],OpenDialog_data
|
stdcall [OpenDialog_Start],OpenDialog_data
|
||||||
cmp [OpenDialog_data.status],1 ;if status==1 then save
|
cmp [OpenDialog_data.status],1 ;if status==1 then save
|
||||||
|
jne .end_save_file
|
||||||
|
stdcall [ted_save_file],tedit0,run_file_70,openfile_path
|
||||||
|
.end_save_file:
|
||||||
ret
|
ret
|
||||||
endp
|
endp
|
||||||
|
|
||||||
;description:
|
;description:
|
||||||
; ª®¯¨à®¢ ¨¥ ¯ ¬ïâ¨
|
; ª®¯¨à®¢ ¨¥ ¯ ¬ïâ¨
|
||||||
align 4
|
align 4
|
||||||
proc mem_copy, source:dword, destination:dword, len:dword
|
proc mem_copy uses ecx esi edi, source:dword, destination:dword, len:dword
|
||||||
push ecx esi edi
|
cld
|
||||||
cld
|
mov esi, dword[source]
|
||||||
mov esi, dword[source]
|
mov edi, dword[destination]
|
||||||
mov edi, dword[destination]
|
mov ecx, dword[len]
|
||||||
mov ecx, dword[len]
|
rep movsb
|
||||||
rep movsb
|
ret
|
||||||
pop edi esi ecx
|
|
||||||
ret
|
|
||||||
endp
|
endp
|
||||||
|
|
||||||
;description:
|
;description:
|
||||||
; § ¯®«¥¨¥ ¯ ¬ï⨠¯à®¡¥« ¬¨
|
; § ¯®«¥¨¥ ¯ ¬ï⨠¯à®¡¥« ¬¨
|
||||||
align 4
|
align 4
|
||||||
proc mem_spac, mem:dword, len:dword
|
proc mem_spac uses eax ecx edi, mem:dword, len:dword
|
||||||
push eax ecx edi
|
cld
|
||||||
cld
|
mov al,' '
|
||||||
mov al,' '
|
mov edi, dword[mem]
|
||||||
mov edi, dword[mem]
|
mov ecx, dword[len]
|
||||||
mov ecx, dword[len]
|
repne stosb
|
||||||
repne stosb
|
ret
|
||||||
pop edi ecx eax
|
|
||||||
ret
|
|
||||||
endp
|
endp
|
||||||
|
|
||||||
;input:
|
;input:
|
||||||
|
Loading…
Reference in New Issue
Block a user