From 97dea9f287048685c295ba3418f1d0e540c6a10e Mon Sep 17 00:00:00 2001 From: Philip Pemberton Date: Thu, 5 Jun 2003 13:17:55 +0000 Subject: [project @ 2003-06-05 13:17:55 by philpem] Added GIF decode support svn path=/import/netsurf/; revision=160 --- riscos/plugin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'riscos/plugin.c') diff --git a/riscos/plugin.c b/riscos/plugin.c index 1d395ade2..526c347d6 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -1,5 +1,5 @@ /** - * $Id: plugin.c,v 1.2 2003/06/02 21:09:50 jmb Exp $ + * $Id: plugin.c,v 1.3 2003/06/05 13:17:55 philpem Exp $ */ #include @@ -41,7 +41,8 @@ void plugin_fetch(struct content* content, char* url, struct box* box, /* OK, we have an image. Let's make the image handler deal with it */ - if (mime_type == CONTENT_JPEG || mime_type == CONTENT_PNG) { + if (mime_type == CONTENT_JPEG || mime_type == CONTENT_PNG || + mime_type == CONTENT_GIF) { xfree(po); LOG(("sending data to image handler")); -- cgit v1.2.3