FileSystem: Add "otf" to recognized font extensions

This commit is contained in:
Jonas Kulla 2013-12-15 10:19:22 +01:00
parent 91c5eb1861
commit f1df97551c
1 changed files with 2 additions and 2 deletions

View File

@ -650,7 +650,7 @@ FileSystem::FileSystem(const char *argv0,
const char **ext;
for (ext = (*di)->extensions; *ext; ++ext)
{
/* All reported extension are uppercase,
/* All reported extensions are uppercase,
* so we need to hammer them down first */
char buf[16];
for (size_t i = 0; i < sizeof(buf); ++i)
@ -666,7 +666,7 @@ FileSystem::FileSystem(const char *argv0,
}
/* Font extensions */
p->extensions[Font] << "ttf";
p->extensions[Font] << "ttf" << "otf";
PHYSFS_init(argv0);
PHYSFS_registerArchiver(&RGSS_Archiver);