forked from KolibriOS/kolibrios
t_edit: fix ClipBoard size
git-svn-id: svn://kolibrios.org@4542 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
407cda99af
commit
38a6d8488e
@ -1,6 +1,6 @@
|
||||
; ¬ ªà®á ¤«ï á¨á⥬®© ¡¨¡«¨®â¥ª¨ box_lib.obj
|
||||
; í«¥¬¥â TextEditor ¤«ï Kolibri OS
|
||||
; ä ©« ¯®á«¥¤¨© à § ¨§¬¥ï«áï 27.11.2013 IgorA
|
||||
; ä ©« ¯®á«¥¤¨© à § ¨§¬¥ï«áï 28.01.2014 IgorA
|
||||
; ª®¤ ¯à¨¬¥¥ GPL2 «¨æ¥§¨ï
|
||||
|
||||
;input:
|
||||
@ -2586,15 +2586,14 @@ proc ted_but_copy, edit:dword
|
||||
call ted_iterat_next
|
||||
jmp @b
|
||||
@@:
|
||||
add ecx,ted_buffer
|
||||
mov byte[ebx],0
|
||||
|
||||
cmp ecx,0
|
||||
cmp ecx,12
|
||||
je .end_f
|
||||
inc ecx ;à §¬¥à ¤ ëå ¢ ¡ãä¥à¥ + ᨬ¢®« § ¢¥à襨ï áâப¨
|
||||
mov ebx,ted_buffer
|
||||
mov eax,ted_buffer_size
|
||||
mov dword[ebx],eax
|
||||
mcall 54,2,ted_buffer_size,ted_buffer
|
||||
mov dword[ebx],ecx
|
||||
mcall 54,2,ecx,ted_buffer
|
||||
call ted_draw_buffer
|
||||
cmp ted_fun_draw_panel_buttons,0
|
||||
je .end_f
|
||||
|
Loading…
Reference in New Issue
Block a user