summaryrefslogtreecommitdiff
path: root/render/html.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/html.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/html.c')
-rw-r--r--render/html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/html.c b/render/html.c
index 7f3c761bb..22fa80fbd 100644
--- a/render/html.c
+++ b/render/html.c
@@ -2359,13 +2359,13 @@ void html_redraw_a_box(hlcache_handle *h, struct box *box)
* \param box box to redraw
*/
-void html__redraw_a_box(struct content *c, struct box *box)
+void html__redraw_a_box(struct html_content *html, struct box *box)
{
int x, y;
box_coords(box, &x, &y);
- content__request_redraw(c, x, y,
+ content__request_redraw((struct content *)html, x, y,
box->padding[LEFT] + box->width + box->padding[RIGHT],
box->padding[TOP] + box->height + box->padding[BOTTOM]);
}
@@ -2786,7 +2786,7 @@ static bool html_drop_file_at_point(struct content *c, int x, int y, char *file)
/* Redraw box. */
if (containing_content == NULL)
- html__redraw_a_box(c, file_box);
+ html__redraw_a_box(html, file_box);
else
html_redraw_a_box(containing_content, file_box);