diff options
| author | Thierry Crozat | 2017-04-09 21:09:10 +0100 |
|---|---|---|
| committer | GitHub | 2017-04-09 21:09:10 +0100 |
| commit | 05bd770ea9593cb718a83ae2864e30716d86b5d0 (patch) | |
| tree | db7ce2eba26d3f5cc46020cf598975d0f1ee473c /gui/ThemeEngine.cpp | |
| parent | be76d00cd583f65d762bb6c498d4160fb5654e65 (diff) | |
| parent | 7ff4641d5dbb93e4c4cab16a738aa1a2b196f40c (diff) | |
| download | scummvm-rg350-05bd770ea9593cb718a83ae2864e30716d86b5d0.tar.gz scummvm-rg350-05bd770ea9593cb718a83ae2864e30716d86b5d0.tar.bz2 scummvm-rg350-05bd770ea9593cb718a83ae2864e30716d86b5d0.zip | |
Merge pull request #921 from Joefish/PR_9711
GUI: Restore previous settings if GUI cannot be rendered
Diffstat (limited to 'gui/ThemeEngine.cpp')
| -rw-r--r-- | gui/ThemeEngine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index c27d36d07e..ecea94524c 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -722,7 +722,9 @@ bool ThemeEngine::addFont(TextData textId, const Common::String &file, const Com #ifdef USE_TRANSLATION TransMan.setLanguage("C"); #endif - warning("Failed to load localized font '%s'. Using non-localized font and default GUI language instead", localized.c_str()); + warning("Failed to load localized font '%s'.", localized.c_str()); + + return false; } } |
