aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2007-02-03 21:35:35 +0000
committerMax Horn2007-02-03 21:35:35 +0000
commita2b1ff0de842d800ad311dc2e1b2638722cbdda9 (patch)
tree281714dbfe97450b449f4aee1d399c8f4e2fc306 /gui
parent56b00f05ccb378b169e83e8a6dfc702aa11aa1d0 (diff)
downloadscummvm-rg350-a2b1ff0de842d800ad311dc2e1b2638722cbdda9.tar.gz
scummvm-rg350-a2b1ff0de842d800ad311dc2e1b2638722cbdda9.tar.bz2
scummvm-rg350-a2b1ff0de842d800ad311dc2e1b2638722cbdda9.zip
shalt not declare static vars inside member functions' spoke Fingolfin, and see, there was static all over the place (somebody please fix this, pretty please with sugar atop)
svn-id: r25361
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeModern.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/ThemeModern.cpp b/gui/ThemeModern.cpp
index ef457e94c7..0c36c6d316 100644
--- a/gui/ThemeModern.cpp
+++ b/gui/ThemeModern.cpp
@@ -1301,6 +1301,8 @@ void ThemeModern::setupFont(const Common::String &key, const Common::String &nam
#pragma mark -
void ThemeModern::processExtraValues() {
+ // FIXME: Using a static (function local) variable like this is *EVIL* and
+ // defeats the purpose of OOP. Turn this into a member variable ASAP!
static Common::String imageHandlesTable[kImageHandlesMax];
// load the pixmap filenames from the config file