summaryrefslogtreecommitdiff
path: root/render/html.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-02-14 19:17:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-02-14 19:17:08 +0000
commitf42ed976e5e4c59b25250ad106527ac7b4447f68 (patch)
tree0886af935d7a79210ee43ea9f5b11c8387f89036 /render/html.h
parentc05333fa62c6dfdd76f20d8a4056bd66f6e9cddd (diff)
downloadnetsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.gz
netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.bz2
Constify
svn path=/trunk/netsurf/; revision=11680
Diffstat (limited to 'render/html.h')
-rw-r--r--render/html.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/html.h b/render/html.h
index 324e795f0..ee2f041bf 100644
--- a/render/html.h
+++ b/render/html.h
@@ -209,7 +209,7 @@ void html_redraw_a_box(struct hlcache_handle *h, struct box *box);
/* in render/html_redraw.c */
bool html_redraw(struct content *c, int x, int y,
- int width, int height, struct rect *clip,
+ int width, int height, const struct rect *clip,
float scale, colour background_colour);
/* in render/html_interaction.c */
@@ -228,7 +228,7 @@ bool text_redraw(const char *utf8_text, size_t utf8_len,
size_t offset, bool space,
const plot_font_style_t *fstyle,
int x, int y,
- struct rect *clip,
+ const struct rect *clip,
int height,
float scale,
bool excluded);