summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/textplain.c b/render/textplain.c
index ada008f35..2a31c6272 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -546,7 +546,7 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw,
*/
bool textplain_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 browser_window *bw = current_redraw_browser;