summaryrefslogtreecommitdiff
path: root/riscos/plugin.c
diff options
context:
space:
mode:
authorPhilip Pemberton <phil@philpem.me.uk>2003-06-05 13:17:55 +0000
committerPhilip Pemberton <phil@philpem.me.uk>2003-06-05 13:17:55 +0000
commit97dea9f287048685c295ba3418f1d0e540c6a10e (patch)
tree202a31a73300fc54e991c59de8659c22dd71c13a /riscos/plugin.c
parentde2c0f5d909e6192785fbaa68736631906f9db1a (diff)
downloadnetsurf-97dea9f287048685c295ba3418f1d0e540c6a10e.tar.gz
netsurf-97dea9f287048685c295ba3418f1d0e540c6a10e.tar.bz2
[project @ 2003-06-05 13:17:55 by philpem]
Added GIF decode support svn path=/import/netsurf/; revision=160
Diffstat (limited to 'riscos/plugin.c')
-rw-r--r--riscos/plugin.c5
1 files changed, 3 insertions, 2 deletions
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 <assert.h>
@@ -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"));