From 208b98bb44b986e62ff0f80b7e50c9da3e12cb8f Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Sat, 5 Mar 2011 09:49:15 +0000 Subject: Created content handler CONTENT_APPLE_IMAGE for Mac OS X that can handle all image file formats supported by Apples ImageIO framework. Right now used only for JPEG to get rid of libjpeg dependency. svn path=/trunk/netsurf/; revision=11911 --- render/box.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'render/box.c') diff --git a/render/box.c b/render/box.c index 275079978..fa579aff8 100644 --- a/render/box.c +++ b/render/box.c @@ -1175,6 +1175,9 @@ bool box_duplicate_main_tree(struct box *box, struct content *c, int *count) #endif #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; -- cgit v1.2.3