diff options
author | Eugene Sandulenko | 2006-06-07 02:55:08 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-06-07 02:55:08 +0000 |
commit | 6aaafb47ebc10fcc88d9d140bcc5c70eab417160 (patch) | |
tree | 74dbdb62731d2a3e1f583c604eaf741826b1884b /gui/ThemeNew.cpp | |
parent | e51d7fcc35565ffd52246af22e68913f07a0db02 (diff) | |
download | scummvm-rg350-6aaafb47ebc10fcc88d9d140bcc5c70eab417160.tar.gz scummvm-rg350-6aaafb47ebc10fcc88d9d140bcc5c70eab417160.tar.bz2 scummvm-rg350-6aaafb47ebc10fcc88d9d140bcc5c70eab417160.zip |
oops. More appropriate place for loading fonts. Avoids loading fonts on
each GUI start
svn-id: r22968
Diffstat (limited to 'gui/ThemeNew.cpp')
-rw-r--r-- | gui/ThemeNew.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index 7fd8468be0..300e633060 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -160,8 +160,6 @@ bool ThemeNew::init() { processExtraValues(); } - setupFonts(); - for (int i = 0; i < kImageHandlesMax; ++i) { if (!_images[i]) { return false; @@ -1514,6 +1512,8 @@ void ThemeNew::processExtraValues() { warning("no valid 'inactive_dialog_shading' specified"); } + setupFonts(); + // load the colors from the config file setupColors(); |