aboutsummaryrefslogtreecommitdiff
path: root/src/guiEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guiEngine.cpp')
-rw-r--r--src/guiEngine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/guiEngine.cpp b/src/guiEngine.cpp
index 2d1bd6d44..545187bfc 100644
--- a/src/guiEngine.cpp
+++ b/src/guiEngine.cpp
@@ -262,8 +262,8 @@ void GUIEngine::run()
unsigned int text_height = g_fontengine->getTextHeight();
- irr::core::dimension2d<u32> previous_screen_size(g_settings->getU16("screenW"),
- g_settings->getU16("screenH"));
+ irr::core::dimension2d<u32> previous_screen_size(g_settings->getU16("screen_w"),
+ g_settings->getU16("screen_h"));
while (m_device->run() && (!m_startgame) && (!m_kill)) {
@@ -275,8 +275,8 @@ void GUIEngine::run()
if (previous_screen_size != current_screen_size &&
current_screen_size != irr::core::dimension2d<u32>(0,0) &&
g_settings->getBool("autosave_screensize")) {
- g_settings->setU16("screenW", current_screen_size.Width);
- g_settings->setU16("screenH", current_screen_size.Height);
+ g_settings->setU16("screen_w", current_screen_size.Width);
+ g_settings->setU16("screen_h", current_screen_size.Height);
previous_screen_size = current_screen_size;
}