From dd0a058e1fc74f37605022b52fa1f6b04086bbbf Mon Sep 17 00:00:00 2001 From: Vincent Glize Date: Sat, 3 Jun 2017 22:02:07 +0200 Subject: Snake case for screen options in minetest.conf (#5792) --- src/guiEngine.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/guiEngine.cpp') 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 previous_screen_size(g_settings->getU16("screenW"), - g_settings->getU16("screenH")); + irr::core::dimension2d 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(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; } -- cgit v1.2.3