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
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-11-30 20:50:07 +00:00
parent cc64e7c84e
commit 0752462801

View File

@ -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]