Fix MSVC compiling warnings and remove an unused texture
authorSmallJoker <mk939@ymail.com>
Thu, 11 Dec 2014 19:12:28 +0000 (20:12 +0100)
committerShadowNinja <shadowninja@minetest.net>
Fri, 12 Dec 2014 21:09:34 +0000 (16:09 -0500)
src/fontengine.cpp
src/fontengine.h
textures/base/pack/ladder_down.png [deleted file]

index e6564854db2dc51693ccc3df8b54fecd872ff5e0..b9d35ba4218963725d166ed1c36d6cd238d7f113 100644 (file)
@@ -45,14 +45,13 @@ FontEngine::FontEngine(Settings* main_settings, gui::IGUIEnvironment* env) :
        m_settings(main_settings),
        m_env(env),
        m_font_cache(),
-       m_default_size(),
        m_currentMode(FM_Standard),
        m_lastMode(),
        m_lastSize(0),
        m_lastFont(NULL)
 {
 
-       for ( unsigned int i = 0; i < FM_MaxMode; i++) {
+       for (unsigned int i = 0; i < FM_MaxMode; i++) {
                m_default_size[i] = (FontMode) FONT_SIZE_UNSPECIFIED;
        }
 
index 679a96bea0f7478130c2c965b6bbbc63197f9028..9edde05f8f4aee50b31fb72d1bd719bc20ac115f 100644 (file)
@@ -86,7 +86,6 @@ private:
                m_settings(NULL),
                m_env(NULL),
                m_font_cache(),
-               m_default_size(),
                m_currentMode(FM_Standard),
                m_lastMode(),
                m_lastSize(0),
diff --git a/textures/base/pack/ladder_down.png b/textures/base/pack/ladder_down.png
deleted file mode 100644 (file)
index e3cb7db..0000000
Binary files a/textures/base/pack/ladder_down.png and /dev/null differ