summaryrefslogtreecommitdiff
path: root/riscos/filetype.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-13 08:25:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-13 08:25:34 +0000
commit1ded087c6ae014b1ddfe0e223580f4255bd270a4 (patch)
treee36dda9ad394bd3d77fcb1b081d0a6c5421e0cfe /riscos/filetype.c
parentafc9517fbd11f536457b1bec8a279e3198d9d659 (diff)
downloadnetsurf-1ded087c6ae014b1ddfe0e223580f4255bd270a4.tar.gz
netsurf-1ded087c6ae014b1ddfe0e223580f4255bd270a4.tar.bz2
Support dataloading of SVG files
Add internal filetype<->mimetype mapping for SVG files svn path=/trunk/netsurf/; revision=3407
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r--riscos/filetype.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c
index 914d76ec8..78709de34 100644
--- a/riscos/filetype.c
+++ b/riscos/filetype.c
@@ -27,6 +27,7 @@ static const struct type_entry type_map[] = {
{0x188, "application/x-shockwave-flash"},
{0x695, "image/gif"},
{0x69c, "image/x-ms-bmp"},
+ {0xaad, "image/svg+xml"},
{0xaff, "image/x-drawfile"},
{0xb60, "image/png"},
{0xc85, "image/jpeg"},
@@ -289,6 +290,8 @@ int ro_content_filetype_from_type(content_type type) {
#ifdef WITH_ARTWORKS
case CONTENT_ARTWORKS: return 0xd94;
#endif
+ case CONTENT_SVG: return 0xaad;
+
default: break;
}
return 0;