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/client/clientlauncher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client') diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp index 289d1537b..3e8fa2f2f 100644 --- a/src/client/clientlauncher.cpp +++ b/src/client/clientlauncher.cpp @@ -522,8 +522,8 @@ bool ClientLauncher::create_engine_device() { // Resolution selection bool fullscreen = g_settings->getBool("fullscreen"); - u16 screenW = g_settings->getU16("screenW"); - u16 screenH = g_settings->getU16("screenH"); + u16 screen_w = g_settings->getU16("screen_w"); + u16 screen_h = g_settings->getU16("screen_h"); // bpp, fsaa, vsync bool vsync = g_settings->getBool("vsync"); @@ -553,7 +553,7 @@ bool ClientLauncher::create_engine_device() SIrrlichtCreationParameters params = SIrrlichtCreationParameters(); params.DriverType = driverType; - params.WindowSize = core::dimension2d(screenW, screenH); + params.WindowSize = core::dimension2d(screen_w, screen_h); params.Bits = bits; params.AntiAlias = fsaa; params.Fullscreen = fullscreen; -- cgit v1.2.3