summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--image/mng.c3
-rw-r--r--image/png.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/image/mng.c b/image/mng.c
index 7e113bebe..32e3a2f75 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -818,7 +818,8 @@ static const char *nsjpng_types[] = {
"image/jng",
"image/x-jng",
/* PNG types*/
- "image/png"
+ "image/png",
+ "image/x-png"
};
CONTENT_FACTORY_REGISTER_TYPES(nsjpng, nsjpng_types, nsjpng_content_handler);
diff --git a/image/png.c b/image/png.c
index 7c0aa56f1..829eee272 100644
--- a/image/png.c
+++ b/image/png.c
@@ -593,7 +593,8 @@ static const content_handler nspng_content_handler = {
};
static const char *nspng_types[] = {
- "image/png"
+ "image/png",
+ "image/x-png"
};
CONTENT_FACTORY_REGISTER_TYPES(nspng, nspng_types, nspng_content_handler);