From c1b6881b8abb4f452ed67ccca5c2173c8db1aabe Mon Sep 17 00:00:00 2001 From: meowtech Date: Tue, 31 Mar 2026 10:45:50 +0000 Subject: [PATCH] fixes again (hopefully i didn't break anything) --- binding-mri/filesystem-binding.cpp | 2 +- src/i18n.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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");