fixes again (hopefully i didn't break anything)

This commit is contained in:
meowtech 2026-03-31 10:45:50 +00:00
parent c237203e1a
commit c1b6881b8a
2 changed files with 3 additions and 2 deletions

View file

@ -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)
{ {

View file

@ -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");