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/game.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index ff473e022..765744b75 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1633,8 +1633,8 @@ void Game::run() && client->checkPrivilege("fast"); #endif - 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 (device->run() && !(*kill || g_gamecallback->shutdown_requested @@ -1648,8 +1648,8 @@ void Game::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