diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 83cfa911907..6c2a87a7df5 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -575,7 +575,7 @@ bool ThemeEngine::addFont(TextData textId, const Common::String &file) { _texts[textId]->_fontPtr = loadFont(localized); if (_texts[textId]->_fontPtr) - FontMan.assignFontToName(file, _texts[textId]->_fontPtr); + FontMan.assignFontToName(localized, _texts[textId]->_fontPtr); // Fallback to non-localized font and default translation else {