From 8e2344e5648f3e0dd9a43e807e9fc56693e32ac7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 Dec 2016 19:06:58 +0300 Subject: Fix wrong type for reading parameter. --- src/gui/windowmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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")); -- cgit v1.2.3-70-g09d2