mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-21 14:29:55 +00:00
fixes again (hopefully i didn't break anything)
This commit is contained in:
parent
c237203e1a
commit
c1b6881b8a
2 changed files with 3 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ fileIntForPath(const char *path, bool rubyExc)
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
shState->fileSystem().openReadRaw(ops*, path);
|
shState->fileSystem().openReadRaw(ops, path);
|
||||||
}
|
}
|
||||||
catch (const Exception &e)
|
catch (const Exception &e)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,8 @@ void loadLanguageMetadata() {
|
||||||
unloadLanguageMetadata();
|
unloadLanguageMetadata();
|
||||||
}
|
}
|
||||||
|
|
||||||
char line[256];
|
// char line[256];
|
||||||
|
char line[1024];
|
||||||
|
|
||||||
languageMetadata = (LanguageFontAndSize**) calloc(MAX_LANGUAGES, sizeof(LanguageFontAndSize*));
|
languageMetadata = (LanguageFontAndSize**) calloc(MAX_LANGUAGES, sizeof(LanguageFontAndSize*));
|
||||||
FILE* fontsFile = fopen("Languages/internal/language_fonts.ini", "r");
|
FILE* fontsFile = fopen("Languages/internal/language_fonts.ini", "r");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue