From b7bb766e95a3ffb552784ae40bac76db4651d5d9 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Fri, 16 Jul 2004 19:47:03 +0000 Subject: [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 --- riscos/filetype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'riscos/filetype.c') 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; -- cgit v1.2.3