[Scummvm-git-logs] scummvm master -> 62c4d6cc0a7c004565d0cc093b81e4813588ad60

sev- sev at scummvm.org
Thu Sep 17 14:14:13 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
62c4d6cc0a GUI: Properly load fonts when translations are disabled


Commit: 62c4d6cc0a7c004565d0cc093b81e4813588ad60
    https://github.com/scummvm/scummvm/commit/62c4d6cc0a7c004565d0cc093b81e4813588ad60
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-09-17T16:14:01+02:00

Commit Message:
GUI: Properly load fonts when translations are disabled

Changed paths:
    gui/ThemeEngine.cpp


diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 043b2dae00..6d28dd4588 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -522,7 +522,7 @@ bool ThemeEngine::addFont(TextData textId, const Common::String &language, const
 	if (textId == -1)
 		return false;
 
-	if (!language.empty()) {
+	if (!language.empty() && !language.equals("*")) {
 #ifdef USE_TRANSLATION
 		Common::String cl = TransMan.getCurrentLanguage();
 		if (!cl.matchString(language, true))




More information about the Scummvm-git-logs mailing list