From 07524628019a8e585204357661005a844784c7c0 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sat, 30 Nov 2013 20:50:07 +0000 Subject: [PATCH] Tinypad - the patching of "5 repetition pressing Enter in the empty file cause crashing". git-svn-id: svn://kolibrios.org@4316 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/tinypad/trunk/tp-key.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/programs/develop/tinypad/trunk/tp-key.asm b/programs/develop/tinypad/trunk/tp-key.asm index 21adfab590..9154b92d10 100644 --- a/programs/develop/tinypad/trunk/tp-key.asm +++ b/programs/develop/tinypad/trunk/tp-key.asm @@ -1361,8 +1361,9 @@ endp proc key.return ;///// CARRIAGE RETURN /////////////////////////////////////// ;----------------------------------------------------------------------------- call delete_selection - - mov eax,14 +; unknown how many times the user wants to press "Enter", +; so you should do a little more value + mov eax,14*100 call editor_realloc_lines mov ecx,[cur_editor.Caret.Y]