diff options
Diffstat (limited to 'desktop/textarea.c')
-rw-r--r-- | desktop/textarea.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c index 3241cf9d3..e782fd6fd 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -235,7 +235,7 @@ static bool textarea_scroll_visible(struct textarea *ta) return false; x0 = ta->border_width + ta->pad_left; - x1 = ta->vis_width - (ta->border_width + ta->pad_left); + x1 = ta->vis_width - (ta->border_width + ta->pad_right); y0 = 0; y1 = ta->vis_height - 2 * ta->border_width; |