aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-10-27 22:34:19 +0200
committerkdx <kikoodx@paranoici.org>2023-10-27 22:34:19 +0200
commitf6d8a551c902b1e61028eecc8061d5e50a230572 (patch)
tree6e36fa35d5f02d3722369179f53c7f7c5b817e26
parent38428ea84cbc72bae05c0f7f7535af485d96bc89 (diff)
downloadtzr-f6d8a551c902b1e61028eecc8061d5e50a230572.tar.gz
.fon fonts
-rw-r--r--sources/TZR_LoadResource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/TZR_LoadResource.c b/sources/TZR_LoadResource.c
index f503bcb..330589d 100644
--- a/sources/TZR_LoadResource.c
+++ b/sources/TZR_LoadResource.c
@@ -16,7 +16,8 @@ deduce_type(const char *path)
if (strcasecmp(path_extension, ".wav") == 0)
return TZR_RES_SOUND;
if (strcasecmp(path_extension, ".ttf") == 0 ||
- strcasecmp(path_extension, ".otf") == 0)
+ strcasecmp(path_extension, ".otf") == 0 ||
+ strcasecmp(path_extension, ".fon") == 0)
return TZR_RES_FONT;
return TZR_RES_RAW;
}