diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-07-16 19:47:03 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-07-16 19:47:03 +0000 |
commit | b7bb766e95a3ffb552784ae40bac76db4651d5d9 (patch) | |
tree | 726222bd6eca51886b00faa128e97afbe667bf8a /riscos/filetype.c | |
parent | 8b0aaef01d786375543c7439a66a6ab58162fc5c (diff) | |
download | netsurf-b7bb766e95a3ffb552784ae40bac76db4651d5d9.tar.gz netsurf-b7bb766e95a3ffb552784ae40bac76db4651d5d9.tar.bz2 |
[project @ 2004-07-16 19:47:02 by rjw]
Fix for hotlist menu selection. Interface for MNG/JNG display.
svn path=/import/netsurf/; revision=1083
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r-- | riscos/filetype.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c index c5bd20a1b..479b3acdc 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -26,6 +26,8 @@ static const struct type_entry type_map[] = { {0x695, "image/gif"}, {0xaff, "image/x-drawfile"}, {0xb60, "image/png"}, + {0x251, "image/jng"}, /* currently in user space */ + {0x252, "image/mng"}, /* currently in user space */ {0xc85, "image/jpeg"}, {0xf79, "text/css"}, {0xfaf, "text/html"}, @@ -125,6 +127,8 @@ int ro_content_filetype(struct content *content) case CONTENT_CSS: return 0xf79; 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; |