From 0f54cb31b167ca79334cf927ea2ed05cb892d89f Mon Sep 17 00:00:00 2001 From: IgorA Date: Wed, 16 Sep 2015 14:21:53 +0000 Subject: [PATCH] make end line = (13,10) in copy buffer git-svn-id: svn://kolibrios.org@5832 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/box_lib/trunk/t_edit.mac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/programs/develop/libraries/box_lib/trunk/t_edit.mac b/programs/develop/libraries/box_lib/trunk/t_edit.mac index bb8b737795..d0765742a4 100644 --- a/programs/develop/libraries/box_lib/trunk/t_edit.mac +++ b/programs/develop/libraries/box_lib/trunk/t_edit.mac @@ -2624,7 +2624,13 @@ proc ted_but_copy, edit:dword mov al,byte[edx] mov byte[ebx],al inc ebx - + cmp al,13 + jne .no_13 + mov byte[ebx],10 ;делаем конец строки в буфере 13,10 для совместимости с другими программами + inc ebx + inc ecx + .no_13: + call ted_iterat_next jmp @b @@: