summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 8df7ba016..29acfde11 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -62,8 +62,10 @@ static const content_type image_types[] = {
#ifdef WITH_BMP
CONTENT_BMP,
#endif
-#ifdef WITH_MNG
+#if defined(WITH_MNG) || defined(WITH_PNG)
CONTENT_PNG,
+#endif
+#ifdef WITH_MNG
CONTENT_JNG,
CONTENT_MNG,
#endif