From de4d15128561f38a45009fccbaac234882216ab3 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sun, 25 Jul 2004 20:45:16 +0000 Subject: [project @ 2004-07-25 20:45:15 by rjw] Support for MNGs and JNGs. Bug fix for help token regression. Minor GUI fixes. svn path=/import/netsurf/; revision=1144 --- riscos/filetype.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'riscos/filetype.c') diff --git a/riscos/filetype.c b/riscos/filetype.c index f0c9fa71d..837151521 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -23,13 +23,13 @@ struct type_entry { }; static const struct type_entry type_map[] = { {0x188, "application/x-shockwave-flash"}, - {0x251, "image/jng"}, /* currently in user space */ - {0x252, "image/mng"}, /* currently in user space */ {0x695, "image/gif"}, {0xaff, "image/x-drawfile"}, {0xb60, "image/png"}, {0xc85, "image/jpeg"}, + {0xf78, "image/jng"}, {0xf79, "text/css"}, + {0xf83, "image/mng"}, {0xfaf, "text/html"}, {0xff9, "image/x-riscos-sprite"}, {0xfff, "text/plain"}, @@ -124,11 +124,11 @@ int ro_content_filetype(struct content *content) switch (content->type) { case CONTENT_HTML: return 0xfaf; case CONTENT_TEXTPLAIN: return 0xfff; + case CONTENT_MNG: return 0xf84; case CONTENT_CSS: return 0xf79; + case CONTENT_JNG: return 0xf78; case CONTENT_JPEG: return 0xc85; case CONTENT_PNG: return 0xb60; - case CONTENT_JNG: return 0x251; /* currently in user space */ - case CONTENT_MNG: return 0x252; /* currently in user space */ case CONTENT_GIF: return 0x695; case CONTENT_SPRITE: return 0xff9; case CONTENT_DRAW: return 0xaff; -- cgit v1.2.3