From 3f3b64bf222975546498b9db28e962cf99fb88f1 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 21 Jan 2014 11:13:36 +0000 Subject: Fix scaled rendering clip rect bottom calculation. --- desktop/textarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') 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) -- cgit v1.2.3