From 0d831c4ab68d48e2ff114a217d5ce8df61cf0fe3 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 8 Feb 2013 23:25:40 +0000 Subject: Scaled textarea rendering support. Ugly. --- render/html_redraw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render') diff --git a/render/html_redraw.c b/render/html_redraw.c index fed5ffdc4..1dbe093e8 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -2411,8 +2411,8 @@ bool html_redraw_box(const html_content *html, struct box *box, (box->gadget->type == GADGET_TEXTAREA || box->gadget->type == GADGET_PASSWORD || box->gadget->type == GADGET_TEXTBOX)) { - textarea_redraw(box->gadget->data.text.ta, - x, y, current_background_color, &r, ctx); + textarea_redraw(box->gadget->data.text.ta, x, y, + current_background_color, scale, &r, ctx); } else if (box->text) { if (!html_redraw_text_box(html, box, x, y, &r, scale, -- cgit v1.2.3