summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/setup.c b/setup.c
index 57ab3b8..d7a860f 100644
--- a/setup.c
+++ b/setup.c
@@ -340,7 +340,7 @@ eOSState cMenuSetupDVDSwitch::ProcessKey(eKeys Key)
{
const char *ItemText = Get(Current())->Text();
- switch(Key)
+ switch(Key & ~k_Repeat)
{
case kRight:
case kLeft:
@@ -406,9 +406,7 @@ eOSState cMenuSetupDVDSwitch::ProcessKey(eKeys Key)
}
break;
case kUp:
- case kUp|k_Repeat:
case kDown:
- case kDown|k_Repeat:
state = cMenuSetupPage::ProcessKey(Key);
ItemText = Get(Current())->Text();