summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--softhddevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index ac022c6..37a8a24 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -1039,7 +1039,7 @@ static void HandleHotkey(int code)
Skins.QueueMessage(mtInfo, tr("auto-crop enabled"));
break;
case 25: // toggle auto-crop
- ConfigAutoCropEnabled ^= 1;
+ ConfigAutoCropEnabled = !ConfigAutoCropEnabled;
// no interval configured, use some default
if (!ConfigAutoCropInterval) {
ConfigAutoCropInterval = 50;