summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-07-16 20:57:14 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-07-16 20:57:14 +0000
commita0d23659b6979e6809913a7dc24db58d0b847dc5 (patch)
tree3575bc97616c71eddfed0d7de34437eb8b27a3bf /content
parent367bbedd906c8a0899af170685465a1d9708e53d (diff)
downloadnetsurf-a0d23659b6979e6809913a7dc24db58d0b847dc5.tar.gz
netsurf-a0d23659b6979e6809913a7dc24db58d0b847dc5.tar.bz2
[project @ 2004-07-16 20:57:14 by jmb]
Fix silly rjwness svn path=/import/netsurf/; revision=1090
Diffstat (limited to 'content')
-rw-r--r--content/content.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/content/content.c b/content/content.c
index 77b68e447..26d13bd80 100644
--- a/content/content.c
+++ b/content/content.c
@@ -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,16 +80,12 @@ static const struct mime_entry mime_map[] = {
#ifdef WITH_PNG
{"image/png", CONTENT_PNG},
#endif
+#ifdef WITH_DRAW
+ {"image/x-drawfile", CONTENT_DRAW},
+#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_SPRITE
{"image/x-riscos-sprite", CONTENT_SPRITE},
@@ -93,6 +93,10 @@ static const struct mime_entry mime_map[] = {
{"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]))