summaryrefslogtreecommitdiff
path: root/image/ico.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-02-14 19:17:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-02-14 19:17:08 +0000
commitf42ed976e5e4c59b25250ad106527ac7b4447f68 (patch)
tree0886af935d7a79210ee43ea9f5b11c8387f89036 /image/ico.c
parentc05333fa62c6dfdd76f20d8a4056bd66f6e9cddd (diff)
downloadnetsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.gz
netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.bz2
Constify
svn path=/trunk/netsurf/; revision=11680
Diffstat (limited to 'image/ico.c')
-rw-r--r--image/ico.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/ico.c b/image/ico.c
index e1e3d2939..f147bad08 100644
--- a/image/ico.c
+++ b/image/ico.c
@@ -105,7 +105,7 @@ bool nsico_convert(struct content *c)
}
bool nsico_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 bmp_image *bmp = ico_find(c->data.ico.ico, width, height);
@@ -139,7 +139,7 @@ bool nsico_set_bitmap_from_size(hlcache_handle *h, int width, int height)
}
bool nsico_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)
{