aboutsummaryrefslogtreecommitdiff
path: root/dpi
diff options
context:
space:
mode:
Diffstat (limited to 'dpi')
-rw-r--r--dpi/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dpi/file.c b/dpi/file.c
index d84f4b64..df0b4933 100644
--- a/dpi/file.c
+++ b/dpi/file.c
@@ -510,6 +510,8 @@ static const char *File_ext(const char *filename)
return "image/jpeg";
} else if (!dStrAsciiCasecmp(e, "png")) {
return "image/png";
+ } else if (!dStrAsciiCasecmp(e, "svg")) {
+ return "image/svg+xml";
} else if (!dStrAsciiCasecmp(e, "html") ||
!dStrAsciiCasecmp(e, "xhtml") ||
!dStrAsciiCasecmp(e, "htm") ||