diff options
-rw-r--r-- | desktop/textarea.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c index 9bc1a183c..acfe6276c 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -519,7 +519,10 @@ static bool textarea_reflow(struct textarea *ta, unsigned int start) do { /* Set line count to start point */ - line = start; + if (restart) + line = 0; + else + line = start; /* Find available width */ avail_width = ta->vis_width - 2 * ta->border_width - |