Update softhdcuvid.cpp

This commit is contained in:
9000h 2019-10-28 15:49:03 +01:00 committed by GitHub
parent b83cb6167c
commit 7269e28f9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2330,7 +2330,6 @@ eOSState cSoftHdMenu::ProcessKey(eKeys key)
//dsyslog("[softhddev]%s: %x\n", __FUNCTION__, key);
switch (HotkeyState) {
case HksInitial: // initial state, waiting for hot key
if (key == kBlue) {
HotkeyState = HksBlue; // blue button
@ -2365,6 +2364,7 @@ eOSState cSoftHdMenu::ProcessKey(eKeys key)
return osEnd;
}
HotkeyState = HksInitial;
break;
case HksRed: // red and first number
if (k0 <= key && key <= k9) {
HotkeyCode = 100 + key - k0;