aboutsummaryrefslogtreecommitdiff
path: root/src/fontengine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontengine.h')
-rw-r--r--src/fontengine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fontengine.h b/src/fontengine.h
index 9f7266775..0c97ac77b 100644
--- a/src/fontengine.h
+++ b/src/fontengine.h
@@ -120,16 +120,16 @@ private:
unsigned int m_default_size[FM_MaxMode];
/** current font engine mode */
- FontMode m_currentMode;
+ FontMode m_currentMode = FM_Standard;
/** font mode of last request */
FontMode m_lastMode;
/** size of last request */
- unsigned int m_lastSize;
+ unsigned int m_lastSize = 0;
/** last font returned */
- irr::gui::IGUIFont* m_lastFont;
+ irr::gui::IGUIFont* m_lastFont = nullptr;
};