diff --git a/programs/other/t_edit/t_button.inc b/programs/other/t_edit/t_button.inc index 24a3e41be6..7784e86ade 100644 --- a/programs/other/t_edit/t_button.inc +++ b/programs/other/t_edit/t_button.inc @@ -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 diff --git a/programs/other/t_edit/t_data.inc b/programs/other/t_edit/t_data.inc index 3a04891b89..4ef1d80a8b 100644 --- a/programs/other/t_edit/t_data.inc +++ b/programs/other/t_edit/t_data.inc @@ -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