summaryrefslogtreecommitdiff
path: root/amiga
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 /amiga
parentc05333fa62c6dfdd76f20d8a4056bd66f6e9cddd (diff)
downloadnetsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.gz
netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.bz2
Constify
svn path=/trunk/netsurf/; revision=11680
Diffstat (limited to 'amiga')
-rw-r--r--amiga/icon.c2
-rw-r--r--amiga/icon.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/amiga/icon.c b/amiga/icon.c
index 711144de5..d31091489 100644
--- a/amiga/icon.c
+++ b/amiga/icon.c
@@ -188,7 +188,7 @@ void amiga_icon_destroy(struct content *c)
*/
bool amiga_icon_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)
{
return plot.bitmap(x, y, width, height,
diff --git a/amiga/icon.h b/amiga/icon.h
index f7d9e6384..bd9fb501d 100644
--- a/amiga/icon.h
+++ b/amiga/icon.h
@@ -38,7 +38,7 @@ struct content_amiga_icon_data {
bool amiga_icon_convert(struct content *c);
void amiga_icon_destroy(struct content *c);
bool amiga_icon_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);
bool amiga_icon_clone(const struct content *old, struct content *new_content);