Fix font-location

This commit is contained in:
jpirnay
2026-05-03 22:42:54 +02:00
parent 8526e58ac1
commit 5617db3ad2
7 changed files with 957 additions and 355 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const char* I18n::get(StrId id) const {
// Use generated helper function - no hardcoded switch needed!
const LangStrings lang = getLanguageStrings(_language);
// If bit 15 of the offset is set, apply the offset to the English lookup table
// If bit 15 of the offset is set, apply the offset to the English lookup table
const uint16_t off = lang.offsets[index];
if (off & 0x8000) return STRINGS_EN_DATA + (off & 0x7FFF);
return lang.data + off;