summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/box.c3
-rw-r--r--render/box_construct.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c
index 635bcbb3b..e4292d20b 100644
--- a/render/box.c
+++ b/render/box.c
@@ -1163,6 +1163,9 @@ bool box_duplicate_main_tree(struct box *box, struct content *c, int *count)
#ifdef WITH_WEBP
content_get_type(box->object) == CONTENT_WEBP ||
#endif
+#ifdef WITH_AMIGA_ICON
+ content_get_type(box->object) == CONTENT_AMIGA_ICON ||
+#endif
#if defined(WITH_SPRITE) || defined(WITH_NSSPRITE)
content_get_type(box->object) == CONTENT_SPRITE ||
#endif
diff --git a/render/box_construct.c b/render/box_construct.c
index a241dde43..b115dc026 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -84,6 +84,9 @@ static const content_type image_types[] = {
#ifdef WITH_WEBP
CONTENT_WEBP,
#endif
+#ifdef WITH_AMIGA_ICON
+ CONTENT_AMIGA_ICON,
+#endif
CONTENT_UNKNOWN };
/* the strings are not important, since we just compare the pointers */