diff options
Diffstat (limited to 'src/gmutil.c')
-rw-r--r-- | src/gmutil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmutil.c b/src/gmutil.c index 692c1cb9..e44971d0 100644 --- a/src/gmutil.c +++ b/src/gmutil.c | |||
@@ -539,6 +539,9 @@ const char *mediaTypeFromFileExtension_String(const iString *d) { | |||
539 | else if (endsWithCase_String(d, ".fontpack")) { | 539 | else if (endsWithCase_String(d, ".fontpack")) { |
540 | return mimeType_FontPack; | 540 | return mimeType_FontPack; |
541 | } | 541 | } |
542 | else if (endsWithCase_String(d, ".ttf")) { | ||
543 | return "font/ttf"; | ||
544 | } | ||
542 | else if (endsWithCase_String(d, ".xml")) { | 545 | else if (endsWithCase_String(d, ".xml")) { |
543 | return "text/xml"; | 546 | return "text/xml"; |
544 | } | 547 | } |