summaryrefslogtreecommitdiff
path: root/image/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/gif.c')
-rw-r--r--image/gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/gif.c b/image/gif.c
index 8745942cd..94cba25f1 100644
--- a/image/gif.c
+++ b/image/gif.c
@@ -152,7 +152,7 @@ void nsgif_invalidate(void *bitmap, void *private_word)
}
bool nsgif_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)
{
if (c->data.gif.current_frame != c->data.gif.gif->decoded_frame)
@@ -167,7 +167,7 @@ bool nsgif_redraw(struct content *c, int x, int y,
bool nsgif_redraw_tiled(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,
bool repeat_x, bool repeat_y)
{