diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-02-26 02:25:19 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-02-26 02:25:19 +0000 |
commit | 60ea34ad48f604c96f228d8f7942c5527e8a5b15 (patch) | |
tree | 81afbe5a766c42b7cc1b3036be990c8fcda299c5 /riscos/filetype.c | |
parent | da4a9313f1260531ec3dde07b32c122f120f695c (diff) | |
download | netsurf-60ea34ad48f604c96f228d8f7942c5527e8a5b15.tar.gz netsurf-60ea34ad48f604c96f228d8f7942c5527e8a5b15.tar.bz2 |
[project @ 2006-02-26 02:25:19 by rjw]
Add support for ICO files.
svn path=/import/netsurf/; revision=2096
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r-- | riscos/filetype.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c index 89be38e99..a763e46f8 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -23,8 +23,10 @@ struct type_entry { char mime_type[40]; }; static const struct type_entry type_map[] = { + {0x132, "image/ico"}, {0x188, "application/x-shockwave-flash"}, {0x695, "image/gif"}, + {0x69c, "image/x-ms-bmp"}, {0xaff, "image/x-drawfile"}, {0xb60, "image/png"}, {0xc85, "image/jpeg"}, @@ -247,6 +249,7 @@ int ro_content_filetype_from_type(content_type type) { #endif #ifdef WITH_BMP case CONTENT_BMP: return 0x69c; + case CONTENT_ICO: return 0x132; #endif #ifdef WITH_SPRITE case CONTENT_SPRITE: return 0xff9; |