summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 05:49:19 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 05:49:19 +0000
commit5a5f8e2804c517fe7f11838bebeb189326595dce (patch)
tree97faafe2749998937500da21a31d4dd2255eed17 /apps/recorder
parent8886adb9dfa00146e0fb6f5221d2b994ab46124e (diff)
downloadrockbox-5a5f8e2804c517fe7f11838bebeb189326595dce.tar.gz
rockbox-5a5f8e2804c517fe7f11838bebeb189326595dce.zip
The preset menus now ignore DOWN button events, fixes bug #1041944
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5197 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/radio.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 8afcefe261..260708cfe9 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -674,6 +674,11 @@ static int handle_radio_presets_menu_cb(int key, int m)
case BUTTON_F3 | BUTTON_REL:
key = MENU_EXIT; /* Fake an exit */
break;
+
+ case BUTTON_F3:
+ /* Ignore the DOWN events */
+ key = BUTTON_NONE;
+ break;
}
#endif
return key;
@@ -760,6 +765,13 @@ int handle_radio_presets_cb(int key, int m)
else
key = BUTTON_NONE;
break;
+
+ case BUTTON_F1:
+ case BUTTON_F2:
+ case BUTTON_F3:
+ /* Ignore the DOWN events */
+ key = BUTTON_NONE;
+ break;
}
return key;
#endif