diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-06 15:33:50 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-06 15:33:50 -0800 |
commit | c939f2ee45a585f34d1f260d90523faf71e057f6 (patch) | |
tree | 3bfc23d89a380cd7ceabaeea68d5992eea62bb9e /screen.cpp | |
parent | 309dfeb6a8b1244627acf4d8060593396b2a3946 (diff) |
Fix for an out-of-range exception when resizing the window during funced
Diffstat (limited to 'screen.cpp')
-rw-r--r-- | screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -481,8 +481,8 @@ static void s_desired_append_char(screen_t *s, { int i; /* Current line is definitely hard wrapped */ - s->desired.line(s->desired.cursor.y).is_soft_wrapped = false; s->desired.create_line(s->desired.line_count()); + s->desired.line(s->desired.cursor.y).is_soft_wrapped = false; s->desired.cursor.y++; s->desired.cursor.x=0; for (i=0; i < prompt_width+indent*INDENT_STEP; i++) |