summaryrefslogtreecommitdiff
path: root/riscos/filetype.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-07-25 20:45:16 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-07-25 20:45:16 +0000
commitde4d15128561f38a45009fccbaac234882216ab3 (patch)
treecb83b484d5aadbecca479feaa576284f971971c2 /riscos/filetype.c
parentb02f6fa9a0608187cb85752be81bde90071e8b7e (diff)
downloadnetsurf-de4d15128561f38a45009fccbaac234882216ab3.tar.gz
netsurf-de4d15128561f38a45009fccbaac234882216ab3.tar.bz2
[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
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r--riscos/filetype.c8
1 files changed, 4 insertions, 4 deletions
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;