summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-11-17 13:28:25 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-11-17 13:28:25 +0000
commit6b4e5f888126b8f6b219fa25698ea8a12203d1cd (patch)
tree5b775c763e9c160153d1249ddedd6089c689e3c4
parent4bd3e61de9618dcc021f9626039c22667429ed33 (diff)
downloadrockbox-6b4e5f888126b8f6b219fa25698ea8a12203d1cd.tar.gz
rockbox-6b4e5f888126b8f6b219fa25698ea8a12203d1cd.zip
You can now leave the playlist viewer with OFF, and the hold-Play context menu works better now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5419 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/playlist_viewer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 266b21cdd7..f1235301cf 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -898,7 +898,10 @@ bool playlist_viewer_ex(char* filename)
switch (button)
{
- case TREE_EXIT | BUTTON_REL:
+ case TREE_EXIT:
+#ifdef TREE_OFF
+ case TREE_OFF:
+#endif
exit = true;
break;
@@ -983,9 +986,6 @@ bool playlist_viewer_ex(char* filename)
/* ON+PLAY menu */
int ret;
- /* Wait for the user to release the TREE_RUN key */
- while((button_get(true)) != (TREE_RUN | BUTTON_REL)) {};
-
ret = onplay_menu(INDEX(viewer.cursor_pos));
if (ret < 0)