summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-02-08 23:25:40 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-02-08 23:25:40 +0000
commit0d831c4ab68d48e2ff114a217d5ce8df61cf0fe3 (patch)
tree3ab6c77d43a5d41156719a37b6b7e53445ab86e4 /render/html_redraw.c
parent586e02e915f33e304f5f5e664d29efd2940a4dcf (diff)
downloadnetsurf-0d831c4ab68d48e2ff114a217d5ce8df61cf0fe3.tar.gz
netsurf-0d831c4ab68d48e2ff114a217d5ce8df61cf0fe3.tar.bz2
Scaled textarea rendering support. Ugly.
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c4
1 files changed, 2 insertions, 2 deletions
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,