summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-01-14 12:01:23 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-01-14 12:01:23 +0000
commit96264ca71ebddece12360c742ce4215011e5b282 (patch)
treeb6e5e58d2f6548bc1d9548ddf72f61a313184015
parent700aea8b08c565926e35d1816ad8a1db36f1462c (diff)
downloadnetsurf-96264ca71ebddece12360c742ce4215011e5b282.tar.gz
netsurf-96264ca71ebddece12360c742ce4215011e5b282.tar.bz2
Use right padding. Thanks jmb.
-rw-r--r--desktop/textarea.c2
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;