summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-12 02:43:06 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-12 02:43:06 +0300
commit54f52b52e89682af925294ff8184704ee60dafdc (patch)
tree1fed76b84747dbe75fa6f76aa3e3b32a794da78c /src/defaults.cpp
parentd5557756b4070dfd240c21bc98782a6f639e56c2 (diff)
downloadmanaverse-54f52b52e89682af925294ff8184704ee60dafdc.tar.gz
manaverse-54f52b52e89682af925294ff8184704ee60dafdc.tar.bz2
manaverse-54f52b52e89682af925294ff8184704ee60dafdc.tar.xz
manaverse-54f52b52e89682af925294ff8184704ee60dafdc.zip
Add default valud for config variable "sdlLogLevel" in SDL 1.2
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 4406b7c40..eaa2bcdb3 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -310,7 +310,6 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("repeateDelay", 500);
AddDEF("repeateInterval", 30);
AddDEF("repeateInterval2", 500);
- AddDEF("sdlLogLevel", 0);
#else // USE_SDL2
AddDEF("repeateDelay", SDL_DEFAULT_REPEAT_DELAY);
@@ -416,6 +415,7 @@ void setConfigDefaults(Configuration &cfg)
AddDEF("allowMoveByMouse", true);
AddDEF("enableDSA", true);
AddDEF("blockAltTab", true);
+ AddDEF("sdlLogLevel", 0);
}
void setConfigDefaults2(Configuration &cfg)