forked from KolibriOS/kolibrios
't_edit' fix open file from cmd line
git-svn-id: svn://kolibrios.org@2847 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
db5e4c8516
commit
80c1f976e0
@ -157,7 +157,7 @@ endp
|
||||
; edi = pointer to tedit struct
|
||||
align 4
|
||||
ted_messages_after_open_file:
|
||||
push ecx
|
||||
push ecx edi
|
||||
cmp eax,0
|
||||
je @f
|
||||
cmp eax,6
|
||||
@ -176,13 +176,14 @@ ted_messages_after_open_file:
|
||||
cmp ebx,-1
|
||||
je .ret_f
|
||||
;if open file
|
||||
mov edi,tedit0
|
||||
mov ecx,ted_max_chars
|
||||
sub ecx,2 ;ecx = ¬ ªá¨¬ «ì®¥ ç¨á«® ¡ ©â, ¤«ï ª®â®àëå ¡ë« ¢ë¤¥«¥ ¯ ¬ïâì
|
||||
cmp ebx,ecx
|
||||
jl .ret_f
|
||||
stdcall [mb_create],msgbox_1,thread
|
||||
.ret_f:
|
||||
pop ecx
|
||||
pop edi ecx
|
||||
ret
|
||||
|
||||
align 4
|
||||
|
@ -508,7 +508,7 @@ dir_mem rb 32+304*count_of_dir_list_files
|
||||
|
||||
if lang eq ru
|
||||
|
||||
hed db '’¥ªáâ®¢ë© à¥¤ ªâ®à 22.06.12',0 ;¯®¤¯¨áì ®ª
|
||||
hed db '’¥ªáâ®¢ë© à¥¤ ªâ®à 05.07.12',0 ;¯®¤¯¨áì ®ª
|
||||
|
||||
menu_text_area:
|
||||
db '” ©«',0
|
||||
@ -626,7 +626,7 @@ txtFormatApply db '
|
||||
|
||||
else
|
||||
|
||||
hed db 'Text editor 22.06.12',0
|
||||
hed db 'Text editor 05.07.12',0
|
||||
|
||||
menu_text_area:
|
||||
db 'File',0
|
||||
|
Loading…
Reference in New Issue
Block a user