mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Fix bug: autocrop toggle didn't work.
This commit is contained in:
parent
80db7c6656
commit
c9ef8b759a
@ -1039,7 +1039,7 @@ static void HandleHotkey(int code)
|
|||||||
Skins.QueueMessage(mtInfo, tr("auto-crop enabled"));
|
Skins.QueueMessage(mtInfo, tr("auto-crop enabled"));
|
||||||
break;
|
break;
|
||||||
case 25: // toggle auto-crop
|
case 25: // toggle auto-crop
|
||||||
ConfigAutoCropEnabled ^= 1;
|
ConfigAutoCropEnabled = !ConfigAutoCropEnabled;
|
||||||
// no interval configured, use some default
|
// no interval configured, use some default
|
||||||
if (!ConfigAutoCropInterval) {
|
if (!ConfigAutoCropInterval) {
|
||||||
ConfigAutoCropInterval = 50;
|
ConfigAutoCropInterval = 50;
|
||||||
|
Loading…
Reference in New Issue
Block a user