summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-01-21 11:13:36 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-01-21 11:13:36 +0000
commit3f3b64bf222975546498b9db28e962cf99fb88f1 (patch)
tree5662901eda783092f703f565cc9928739b733301 /desktop
parent4a014b61befdf1ad54c9fcf90071977e7b3cbe12 (diff)
downloadnetsurf-3f3b64bf222975546498b9db28e962cf99fb88f1.tar.gz
netsurf-3f3b64bf222975546498b9db28e962cf99fb88f1.tar.bz2
Fix scaled rendering clip rect bottom calculation.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/textarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index 209a6c6d7..0f0bd54e8 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -2157,7 +2157,7 @@ void textarea_redraw(struct textarea *ta, int x, int y, colour bg, float scale,
scale)
r.y1 = y + (ta->vis_height - ta->border_width -
(ta->bar_x != NULL ? SCROLLBAR_WIDTH :
- 0) * scale);
+ 0)) * scale;
}
if (line0 > 0)