mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 12:12:35 +03:00
[project @ 2004-07-16 20:57:14 by jmb]
Fix silly rjwness svn path=/import/netsurf/; revision=1090
This commit is contained in:
parent
367bbedd90
commit
a0d23659b6
@ -69,6 +69,10 @@ static const struct mime_entry mime_map[] = {
|
||||
#ifdef WITH_GIF
|
||||
{"image/gif", CONTENT_GIF},
|
||||
#endif
|
||||
#ifdef WITH_MNG
|
||||
{"image/jng", CONTENT_JNG},
|
||||
{"image/mng", CONTENT_MNG},
|
||||
#endif
|
||||
#ifdef WITH_JPEG
|
||||
{"image/jpeg", CONTENT_JPEG},
|
||||
{"image/pjpeg", CONTENT_JPEG},
|
||||
@ -76,23 +80,23 @@ static const struct mime_entry mime_map[] = {
|
||||
#ifdef WITH_PNG
|
||||
{"image/png", CONTENT_PNG},
|
||||
#endif
|
||||
#ifdef WITH_MNG
|
||||
{"image/jng", CONTENT_JNG},
|
||||
{"image/x-jng", CONTENT_JNG},
|
||||
{"image/mng", CONTENT_MNG},
|
||||
{"image/x-mng", CONTENT_MNG},
|
||||
{"video/mng", CONTENT_MNG},
|
||||
{"video/x-mng", CONTENT_MNG},
|
||||
#endif
|
||||
#ifdef WITH_DRAW
|
||||
{"image/x-drawfile", CONTENT_DRAW},
|
||||
#endif
|
||||
#ifdef WITH_MNG
|
||||
{"image/x-jng", CONTENT_JNG},
|
||||
{"image/x-mng", CONTENT_MNG},
|
||||
#endif
|
||||
#ifdef WITH_SPRITE
|
||||
{"image/x-riscos-sprite", CONTENT_SPRITE},
|
||||
#endif
|
||||
{"text/css", CONTENT_CSS},
|
||||
{"text/html", CONTENT_HTML},
|
||||
{"text/plain", CONTENT_TEXTPLAIN},
|
||||
#ifdef WITH_MNG
|
||||
{"video/mng", CONTENT_MNG},
|
||||
{"video/x-mng", CONTENT_MNG},
|
||||
#endif
|
||||
};
|
||||
#define MIME_MAP_COUNT (sizeof(mime_map) / sizeof(mime_map[0]))
|
||||
|
||||
|
@ -23,11 +23,11 @@ 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"},
|
||||
{0x251, "image/jng"}, /* currently in user space */
|
||||
{0x252, "image/mng"}, /* currently in user space */
|
||||
{0xc85, "image/jpeg"},
|
||||
{0xf79, "text/css"},
|
||||
{0xfaf, "text/html"},
|
||||
|
Loading…
Reference in New Issue
Block a user