Skip to content

Commit

Permalink
Fix: Too longer lines yields in stack leak
Browse files Browse the repository at this point in the history
  • Loading branch information
davazp committed Apr 12, 2012
1 parent 8b79974 commit 45fbc68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linedit.fs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ variable screen-y

: le-insert ( ch -- )
full? if
alert
drop alert
else
( ch ) gap-start @ buffer @ + c!
gap-start 1+!
Expand Down

0 comments on commit 45fbc68

Please sign in to comment.