diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-17 19:06:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-17 19:06:58 +0300 |
commit | 8e2344e5648f3e0dd9a43e807e9fc56693e32ac7 (patch) | |
tree | 0d7a707cf6ebe220ba6e0538a10b70407f8dab52 /src/gui | |
parent | eb928ee85732d5de03d53ba29d466a8525ccf12d (diff) | |
download | manaplus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.tar.gz manaplus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.tar.bz2 manaplus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.tar.xz manaplus-8e2344e5648f3e0dd9a43e807e9fc56693e32ac7.zip |
Fix wrong type for reading parameter.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windowmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp index 8b439e6de..714f92cb4 100644 --- a/src/gui/windowmanager.cpp +++ b/src/gui/windowmanager.cpp @@ -298,7 +298,7 @@ void WindowManager::applyGrabMode() void WindowManager::applyGamma() { - if (config.getFloatValue("enableGamma")) + if (config.getBoolValue("enableGamma")) { SDL::setGamma(mainGraphics->getWindow(), config.getFloatValue("gamma")); |