summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
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 019b99ed7..8468d3007 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -110,7 +110,7 @@ bool html_redraw_debug = false;
*/
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)
{
struct box *box;
@@ -841,7 +841,7 @@ bool html_redraw_text_box(struct box *box, int x, int y,
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,
+ int x, int y, const struct rect *clip,
int height,
float scale,
bool excluded)