From de4d15128561f38a45009fccbaac234882216ab3 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sun, 25 Jul 2004 20:45:16 +0000 Subject: [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 --- content/content.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'content') 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, -- cgit v1.2.3