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.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.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 |