From f42ed976e5e4c59b25250ad106527ac7b4447f68 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 14 Feb 2011 19:17:08 +0000 Subject: Constify svn path=/trunk/netsurf/; revision=11680 --- image/png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'image/png.c') diff --git a/image/png.c b/image/png.c index 246b6d4ff..cbad15029 100644 --- a/image/png.c +++ b/image/png.c @@ -305,7 +305,7 @@ void nspng_destroy(struct content *c) bool nspng_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) { assert(c->bitmap != NULL); @@ -315,7 +315,7 @@ bool nspng_redraw(struct content *c, int x, int y, } bool nspng_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) { -- cgit v1.2.3