diff options
Diffstat (limited to 'desktop/textarea.c')
-rw-r--r-- | desktop/textarea.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c index 9b81e30a4..9bc1a183c 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -533,6 +533,7 @@ static bool textarea_reflow(struct textarea *ta, unsigned int start) assert(ta->text.data[0] == '\0'); ta->lines[line].b_start = 0; ta->lines[line++].b_length = 0; + ta->line_count = 1; } restart = false; |