From 96264ca71ebddece12360c742ce4215011e5b282 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 14 Jan 2013 12:01:23 +0000 Subject: Use right padding. Thanks jmb. --- desktop/textarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3