diff options
Diffstat (limited to 'render/box.c')
-rw-r--r-- | render/box.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/render/box.c b/render/box.c index ef8b43310..1d72da607 100644 --- a/render/box.c +++ b/render/box.c @@ -789,8 +789,10 @@ bool box_duplicate_main_tree(struct box *box, struct content *c, int *count) box->object->type == CONTENT_BMP || box->object->type == CONTENT_ICO || #endif -#ifdef WITH_MNG +#if defined(WITH_MNG) || defined(WITH_PNG) box->object->type == CONTENT_PNG || +#endif +#ifdef WITH_MNG box->object->type == CONTENT_JNG || box->object->type == CONTENT_MNG || #endif |