diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/box.c | 3 | ||||
-rw-r--r-- | render/box_construct.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c index 275079978..fa579aff8 100644 --- a/render/box.c +++ b/render/box.c @@ -1176,6 +1176,9 @@ bool box_duplicate_main_tree(struct box *box, struct content *c, int *count) #if defined(WITH_NS_SVG) || defined(WITH_RSVG) content_get_type(box->object) == CONTENT_SVG || #endif +#ifdef WITH_APPLE_IMAGE + content_get_type(box->object) == CONTENT_APPLE_IMAGE || +#endif false)) box->object = NULL; diff --git a/render/box_construct.c b/render/box_construct.c index d99e5deec..44fcb54b1 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -87,6 +87,9 @@ static const content_type image_types[] = { #ifdef WITH_AMIGA_ICON CONTENT_AMIGA_ICON, #endif +#ifdef WITH_APPLE_IMAGE + CONTENT_APPLE_IMAGE, +#endif CONTENT_UNKNOWN }; /* the strings are not important, since we just compare the pointers */ |