summaryrefslogtreecommitdiff
path: root/render/textinput.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-16 13:22:35 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-16 13:22:35 +0100
commit699173331bb65505a67610b44ea9bef8ab5cfb33 (patch)
tree107ca42e5c5129a092501a9aa29017ab1d8da45a /render/textinput.c
parent4872bc30b8e20a8da9e822725066cc6a5f7955e1 (diff)
downloadnetsurf-699173331bb65505a67610b44ea9bef8ab5cfb33.tar.gz
netsurf-699173331bb65505a67610b44ea9bef8ab5cfb33.tar.bz2
html__redraw_a_box takes html_content instead of struct content.
Diffstat (limited to 'render/textinput.c')
-rw-r--r--render/textinput.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/render/textinput.c b/render/textinput.c
index 3712690d4..3c3eb7361 100644
--- a/render/textinput.c
+++ b/render/textinput.c
@@ -967,7 +967,7 @@ bool textinput_textarea_paste_text(struct browser_window *bw,
textinput_textarea_move_caret,
textarea, c);
- html__redraw_a_box(c, textarea);
+ html__redraw_a_box((html_content *)c, textarea);
}
return success;
@@ -1085,7 +1085,7 @@ static void textinput_input_update_display(struct content *c, struct box *input,
input, c);
if (dx || redraw)
- html__redraw_a_box(c, input);
+ html__redraw_a_box(html, input);
}
@@ -1599,7 +1599,7 @@ bool textinput_textarea_callback(struct browser_window *bw, uint32_t key,
textarea, c);
if (scrolled || reflow)
- html__redraw_a_box(c, textarea);
+ html__redraw_a_box(html, textarea);
return true;
}
@@ -1657,7 +1657,7 @@ void textinput_textarea_click(struct content *c, browser_mouse_state mouse,
textarea, c);
if (scrolled)
- html__redraw_a_box(c, textarea);
+ html__redraw_a_box(html, textarea);
}
@@ -2122,7 +2122,7 @@ void textinput_input_click(struct content *c, struct box *input,
input, c);
if (dx)
- html__redraw_a_box(c, input);
+ html__redraw_a_box(html, input);
}