aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeNew.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2006-06-07 02:53:03 +0000
committerEugene Sandulenko2006-06-07 02:53:03 +0000
commite51d7fcc35565ffd52246af22e68913f07a0db02 (patch)
treee4788aaee40fe3161d8c362f0e711859fb106a1c /gui/ThemeNew.cpp
parent16d924b2c79ce8dbc77a50c78aac52fc321d84f1 (diff)
downloadscummvm-rg350-e51d7fcc35565ffd52246af22e68913f07a0db02.tar.gz
scummvm-rg350-e51d7fcc35565ffd52246af22e68913f07a0db02.tar.bz2
scummvm-rg350-e51d7fcc35565ffd52246af22e68913f07a0db02.zip
Fix regression with console having wrong font on startup.
svn-id: r22967
Diffstat (limited to 'gui/ThemeNew.cpp')
-rw-r--r--gui/ThemeNew.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index 1f64927a96..7fd8468be0 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -150,7 +150,6 @@ bool ThemeNew::init() {
if (_screen.pixels) {
_initOk = true;
clearAll();
- setupFonts();
resetDrawArea();
}
@@ -161,6 +160,8 @@ bool ThemeNew::init() {
processExtraValues();
}
+ setupFonts();
+
for (int i = 0; i < kImageHandlesMax; ++i) {
if (!_images[i]) {
return false;