diff options
author | Eugene Sandulenko | 2006-06-07 02:53:03 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-06-07 02:53:03 +0000 |
commit | e51d7fcc35565ffd52246af22e68913f07a0db02 (patch) | |
tree | e4788aaee40fe3161d8c362f0e711859fb106a1c /gui | |
parent | 16d924b2c79ce8dbc77a50c78aac52fc321d84f1 (diff) | |
download | scummvm-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')
-rw-r--r-- | gui/ThemeNew.cpp | 3 |
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; |