From c9ef8b759a6fc3e8595630e7bdb8f585f035e8da Mon Sep 17 00:00:00 2001 From: Johns Date: Sun, 15 Apr 2012 23:03:40 +0200 Subject: [PATCH] Fix bug: autocrop toggle didn't work. --- softhddevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;