summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windowmanager.cpp2
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"));