summaryrefslogtreecommitdiff
path: root/render/html.h
diff options
context:
space:
mode:
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);