aboutsummaryrefslogtreecommitdiff
path: root/graphics/font.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-12-09 17:05:23 +0000
committerJohannes Schickel2009-12-09 17:05:23 +0000
commit0d43cc61d26e9cd68611c1c45cbf220b50e3b3f3 (patch)
tree202bde3591ef878186845a33ae5ad7e474f5d714 /graphics/font.h
parent8f34e4b11c77740ad9a8e316f30382e8ad9cd4dc (diff)
downloadscummvm-rg350-0d43cc61d26e9cd68611c1c45cbf220b50e3b3f3.tar.gz
scummvm-rg350-0d43cc61d26e9cd68611c1c45cbf220b50e3b3f3.tar.bz2
scummvm-rg350-0d43cc61d26e9cd68611c1c45cbf220b50e3b3f3.zip
Cleanup: remove "s_initialized" from CursorManager and FontManager implementation, these classes are Singletons, so they will ever only be initialized once at most anyway.
svn-id: r46313
Diffstat (limited to 'graphics/font.h')
-rw-r--r--graphics/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/font.h b/graphics/font.h
index 6f7b666485..5044e96af3 100644
--- a/graphics/font.h
+++ b/graphics/font.h
@@ -141,7 +141,7 @@ public:
};
#define DEFINE_FONT(n) \
- const NewFont *n; \
+ const NewFont *n = 0; \
void create_##n() { \
n = new NewFont(desc); \
}