summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-04-15 23:03:40 +0200
committerJohns <johns98@gmx.net>2012-04-15 23:03:40 +0200
commitc9ef8b759a6fc3e8595630e7bdb8f585f035e8da (patch)
treeb2a7ded0e6cb7ae8106143754842dbb88a8ea147
parent80db7c66564dbbbb567110790553b0f844193518 (diff)
downloadvdr-plugin-softhddevice-c9ef8b759a6fc3e8595630e7bdb8f585f035e8da.tar.gz
vdr-plugin-softhddevice-c9ef8b759a6fc3e8595630e7bdb8f585f035e8da.tar.bz2
Fix bug: autocrop toggle didn't work.
-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;