From c052d534e7d9485c4ce534f4286c56154ad7f247 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 16 Oct 2010 15:26:28 +0000 Subject: Add some missing CONTENT_WEBPs. WebP images in HTML docs now display correctly. svn path=/trunk/netsurf/; revision=10890 --- 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 6be898057..635bcbb3b 100644 --- a/render/box.c +++ b/render/box.c @@ -1160,6 +1160,9 @@ bool box_duplicate_main_tree(struct box *box, struct content *c, int *count) content_get_type(box->object) == CONTENT_JNG || content_get_type(box->object) == CONTENT_MNG || #endif +#ifdef WITH_WEBP + content_get_type(box->object) == CONTENT_WEBP || +#endif #if defined(WITH_SPRITE) || defined(WITH_NSSPRITE) content_get_type(box->object) == CONTENT_SPRITE || #endif -- cgit v1.2.3