t_edit: fix ClipBoard size

git-svn-id: svn://kolibrios.org@4542 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
IgorA 2014-01-28 11:55:07 +00:00
parent 407cda99af
commit 38a6d8488e

View File

@ -1,6 +1,6 @@
; ¬ ªà®á ¤«ï á¨á⥬­®© ¡¨¡«¨®â¥ª¨ box_lib.obj ; ¬ ªà®á ¤«ï á¨á⥬­®© ¡¨¡«¨®â¥ª¨ box_lib.obj
; í«¥¬¥­â TextEditor ¤«ï Kolibri OS ; í«¥¬¥­â TextEditor ¤«ï Kolibri OS
; ä ©« ¯®á«¥¤­¨© à § ¨§¬¥­ï«áï 27.11.2013 IgorA ; ä ©« ¯®á«¥¤­¨© à § ¨§¬¥­ï«áï 28.01.2014 IgorA
; ­  ª®¤ ¯à¨¬¥­¥­  GPL2 «¨æ¥­§¨ï ; ­  ª®¤ ¯à¨¬¥­¥­  GPL2 «¨æ¥­§¨ï
;input: ;input:
@ -2586,15 +2586,14 @@ proc ted_but_copy, edit:dword
call ted_iterat_next call ted_iterat_next
jmp @b jmp @b
@@: @@:
add ecx,ted_buffer
mov byte[ebx],0 mov byte[ebx],0
cmp ecx,0 cmp ecx,12
je .end_f je .end_f
inc ecx ;à §¬¥à ¤ ­­ëå ¢ ¡ãä¥à¥ + ᨬ¢®« § ¢¥à襭¨ï áâப¨
mov ebx,ted_buffer mov ebx,ted_buffer
mov eax,ted_buffer_size mov dword[ebx],ecx
mov dword[ebx],eax mcall 54,2,ecx,ted_buffer
mcall 54,2,ted_buffer_size,ted_buffer
call ted_draw_buffer call ted_draw_buffer
cmp ted_fun_draw_panel_buttons,0 cmp ted_fun_draw_panel_buttons,0
je .end_f je .end_f