summaryrefslogtreecommitdiff
path: root/debug/filetyped.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-01-02 11:46:29 +0000
committerJames Bursa <james@netsurf-browser.org>2005-01-02 11:46:29 +0000
commit7114e4b4af607ecc3d6c70d8b5238dd114f88da1 (patch)
tree301a463c4ac25c0a2734c3aff914376c9b64648d /debug/filetyped.c
parentbca91638bc122554ac63b5710c09bdf59bbaadeb (diff)
downloadnetsurf-7114e4b4af607ecc3d6c70d8b5238dd114f88da1.tar.gz
netsurf-7114e4b4af607ecc3d6c70d8b5238dd114f88da1.tar.bz2
[project @ 2005-01-02 11:46:29 by bursa]
Fix debug and riscos_debug builds. svn path=/import/netsurf/; revision=1423
Diffstat (limited to 'debug/filetyped.c')
-rw-r--r--debug/filetyped.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug/filetyped.c b/debug/filetyped.c
index b0aacc71b..a1c3876a9 100644
--- a/debug/filetyped.c
+++ b/debug/filetyped.c
@@ -29,6 +29,8 @@ const char *fetch_filetype(const char *unix_path)
return "image/gif";
if (2 < l && strcasecmp(unix_path + l - 3, "png") == 0)
return "image/png";
+ if (2 < l && strcasecmp(unix_path + l - 3, "jng") == 0)
+ return "image/jng";
return "text/html";
}