diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-01-14 12:01:23 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-01-14 12:01:23 +0000 |
commit | 96264ca71ebddece12360c742ce4215011e5b282 (patch) | |
tree | b6e5e58d2f6548bc1d9548ddf72f61a313184015 /desktop/textarea.c | |
parent | 700aea8b08c565926e35d1816ad8a1db36f1462c (diff) | |
download | netsurf-96264ca71ebddece12360c742ce4215011e5b282.tar.gz netsurf-96264ca71ebddece12360c742ce4215011e5b282.tar.bz2 |
Use right padding. Thanks jmb.
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; |