From d2c3d22f521ae71f0da181d2b3f3914046e2c10f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 21 Jul 2007 00:20:04 +0000 Subject: Change ArtWorks file MIME type to "image/x-artworks". svn path=/trunk/netsurf/; revision=3449 --- content/content.c | 9 +++------ riscos/artworks.c | 2 +- riscos/artworks.h | 2 +- riscos/filetype.c | 2 +- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/content/content.c b/content/content.c index b35802af7..e4c0c4fde 100644 --- a/content/content.c +++ b/content/content.c @@ -78,9 +78,6 @@ struct mime_entry { }; /** A map from MIME type to ::content_type. Must be sorted by mime_type. */ static const struct mime_entry mime_map[] = { -#ifdef WITH_ARTWORKS - {"application/artworks", CONTENT_ARTWORKS}, -#endif #ifdef WITH_BMP {"application/bmp", CONTENT_BMP}, #endif @@ -106,9 +103,6 @@ static const struct mime_entry mime_map[] = { {"application/x-win-bitmap", CONTENT_BMP}, #endif {"application/xhtml+xml", CONTENT_HTML}, -#ifdef WITH_ARTWORKS - {"image/artworks", CONTENT_ARTWORKS}, -#endif #ifdef WITH_BMP {"image/bmp", CONTENT_BMP}, #endif @@ -143,6 +137,9 @@ static const struct mime_entry mime_map[] = { {"image/svg", CONTENT_SVG}, {"image/svg+xml", CONTENT_SVG}, #endif +#ifdef WITH_ARTWORKS + {"image/x-artworks", CONTENT_ARTWORKS}, +#endif #ifdef WITH_BMP {"image/x-bitmap", CONTENT_BMP}, {"image/x-bmp", CONTENT_BMP}, diff --git a/riscos/artworks.c b/riscos/artworks.c index 16e375f9e..c307d8efe 100644 --- a/riscos/artworks.c +++ b/riscos/artworks.c @@ -6,7 +6,7 @@ */ /** \file - * Content for image/artworks (RISC OS implementation). + * Content for image/x-artworks (RISC OS implementation). * * Uses the ArtworksRenderer module */ diff --git a/riscos/artworks.h b/riscos/artworks.h index 171e99d97..ec45514e2 100644 --- a/riscos/artworks.h +++ b/riscos/artworks.h @@ -6,7 +6,7 @@ */ /** \file - * Content for image/artworks (RISC OS interface). + * Content for image/x-artworks (RISC OS interface). */ #ifndef _NETSURF_RISCOS_ARTWORKS_H_ diff --git a/riscos/filetype.c b/riscos/filetype.c index 78709de34..1a0c864dc 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -31,7 +31,7 @@ static const struct type_entry type_map[] = { {0xaff, "image/x-drawfile"}, {0xb60, "image/png"}, {0xc85, "image/jpeg"}, - {0xd94, "image/artworks"}, + {0xd94, "image/x-artworks"}, {0xf78, "image/jng"}, {0xf79, "text/css"}, {0xf83, "image/mng"}, -- cgit v1.2.3