summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-07-25 20:45:16 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-07-25 20:45:16 +0000
commitde4d15128561f38a45009fccbaac234882216ab3 (patch)
treecb83b484d5aadbecca479feaa576284f971971c2 /content
parentb02f6fa9a0608187cb85752be81bde90071e8b7e (diff)
downloadnetsurf-de4d15128561f38a45009fccbaac234882216ab3.tar.gz
netsurf-de4d15128561f38a45009fccbaac234882216ab3.tar.bz2
[project @ 2004-07-25 20:45:15 by rjw]
Support for MNGs and JNGs. Bug fix for help token regression. Minor GUI fixes. svn path=/import/netsurf/; revision=1144
Diffstat (limited to 'content')
-rw-r--r--content/content.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/content/content.c b/content/content.c
index 26d13bd80..a30c72f2b 100644
--- a/content/content.c
+++ b/content/content.c
@@ -71,10 +71,14 @@ static const struct mime_entry mime_map[] = {
#endif
#ifdef WITH_MNG
{"image/jng", CONTENT_JNG},
- {"image/mng", CONTENT_MNG},
#endif
#ifdef WITH_JPEG
{"image/jpeg", CONTENT_JPEG},
+#endif
+#ifdef WITH_MNG
+ {"image/mng", CONTENT_MNG},
+#endif
+#ifdef WITH_JPEG
{"image/pjpeg", CONTENT_JPEG},
#endif
#ifdef WITH_PNG
@@ -178,8 +182,8 @@ static const struct handler_entry handler_map[] = {
0, nsgif_destroy, 0, nsgif_redraw, 0, 0, 0},
#endif
#ifdef WITH_PNG
- {nspng_create, nspng_process_data, nspng_convert,
- 0, nspng_destroy, 0, nspng_redraw, 0, 0, 0},
+ {nsmng_create, nsmng_process_data, nsmng_convert,
+ 0, nsmng_destroy, 0, nsmng_redraw, 0, 0, 0},
#endif
#ifdef WITH_MNG
{nsmng_create, nsmng_process_data, nsmng_convert,