diff --git a/binding-mri/filesystem-binding.cpp b/binding-mri/filesystem-binding.cpp index e858f0d..77ccb31 100644 --- a/binding-mri/filesystem-binding.cpp +++ b/binding-mri/filesystem-binding.cpp @@ -44,7 +44,7 @@ fileIntForPath(const char *path, bool rubyExc) try { - shState->fileSystem().openReadRaw(ops*, path); + shState->fileSystem().openReadRaw(ops, path); } catch (const Exception &e) { diff --git a/src/i18n.cpp b/src/i18n.cpp index 0b2b06d..af8b528 100644 --- a/src/i18n.cpp +++ b/src/i18n.cpp @@ -67,7 +67,8 @@ void loadLanguageMetadata() { unloadLanguageMetadata(); } - char line[256]; + // char line[256]; + char line[1024]; languageMetadata = (LanguageFontAndSize**) calloc(MAX_LANGUAGES, sizeof(LanguageFontAndSize*)); FILE* fontsFile = fopen("Languages/internal/language_fonts.ini", "r");