forked from KolibriOS/kolibrios
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:
parent
cc64e7c84e
commit
0752462801
@ -1361,8 +1361,9 @@ endp
|
|||||||
proc key.return ;///// CARRIAGE RETURN ///////////////////////////////////////
|
proc key.return ;///// CARRIAGE RETURN ///////////////////////////////////////
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
||||||
call delete_selection
|
call delete_selection
|
||||||
|
; unknown how many times the user wants to press "Enter",
|
||||||
mov eax,14
|
; so you should do a little more value
|
||||||
|
mov eax,14*100
|
||||||
call editor_realloc_lines
|
call editor_realloc_lines
|
||||||
|
|
||||||
mov ecx,[cur_editor.Caret.Y]
|
mov ecx,[cur_editor.Caret.Y]
|
||||||
|
Loading…
Reference in New Issue
Block a user