diff options
author | Vincent Glize <vincentglize@hotmail.fr> | 2017-06-03 22:02:07 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-03 22:02:07 +0200 |
commit | dd0a058e1fc74f37605022b52fa1f6b04086bbbf (patch) | |
tree | abd37ed4e5a62776eb2f3ab281991e6ba7e3dad2 /src/defaultsettings.cpp | |
parent | 63ca71e9d2c1131675a7a47a7155458af6a36e3e (diff) | |
download | minetest-dd0a058e1fc74f37605022b52fa1f6b04086bbbf.tar.gz minetest-dd0a058e1fc74f37605022b52fa1f6b04086bbbf.tar.bz2 minetest-dd0a058e1fc74f37605022b52fa1f6b04086bbbf.zip |
Snake case for screen options in minetest.conf (#5792)
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 0a44069fd..e9fb5ea6b 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -125,8 +125,8 @@ void set_default_settings(Settings *settings) settings->setDefault("fps_max", "60"); settings->setDefault("pause_fps_max", "20"); settings->setDefault("viewing_range", "100"); - settings->setDefault("screenW", "800"); - settings->setDefault("screenH", "600"); + settings->setDefault("screen_w", "800"); + settings->setDefault("screen_h", "600"); settings->setDefault("autosave_screensize", "true"); settings->setDefault("fullscreen", "false"); settings->setDefault("fullscreen_bpp", "24"); @@ -360,8 +360,8 @@ void set_default_settings(Settings *settings) settings->setDefault("enable_console", "false"); #ifdef __ANDROID__ - settings->setDefault("screenW", "0"); - settings->setDefault("screenH", "0"); + settings->setDefault("screen_w", "0"); + settings->setDefault("screen_h", "0"); settings->setDefault("enable_shaders", "false"); settings->setDefault("fullscreen", "true"); settings->setDefault("video_driver", "ogles1"); |