diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-09-15 22:45:44 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-09-15 22:45:44 +0000 |
commit | 385d274f5b67a0db54929e204945fed129bc0730 (patch) | |
tree | af28013a9890082309d8f659a57397a0efb50e06 /render/box_construct.c | |
parent | d9c7f033e6d6a6914fc4523cbc3226d448cdf6cf (diff) | |
download | netsurf-385d274f5b67a0db54929e204945fed129bc0730.tar.gz netsurf-385d274f5b67a0db54929e204945fed129bc0730.tar.bz2 |
A bunch of fixes to the libpng binding
svn path=/trunk/netsurf/; revision=5338
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 4 |
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 |