FileSystem: Add "otf" to recognized font extensions
This commit is contained in:
parent
91c5eb1861
commit
f1df97551c
|
@ -650,7 +650,7 @@ FileSystem::FileSystem(const char *argv0,
|
||||||
const char **ext;
|
const char **ext;
|
||||||
for (ext = (*di)->extensions; *ext; ++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 */
|
* so we need to hammer them down first */
|
||||||
char buf[16];
|
char buf[16];
|
||||||
for (size_t i = 0; i < sizeof(buf); ++i)
|
for (size_t i = 0; i < sizeof(buf); ++i)
|
||||||
|
@ -666,7 +666,7 @@ FileSystem::FileSystem(const char *argv0,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Font extensions */
|
/* Font extensions */
|
||||||
p->extensions[Font] << "ttf";
|
p->extensions[Font] << "ttf" << "otf";
|
||||||
|
|
||||||
PHYSFS_init(argv0);
|
PHYSFS_init(argv0);
|
||||||
PHYSFS_registerArchiver(&RGSS_Archiver);
|
PHYSFS_registerArchiver(&RGSS_Archiver);
|
||||||
|
|
Loading…
Reference in New Issue