summaryrefslogtreecommitdiff
path: root/apps/playlist_viewer.c
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 /apps/playlist_viewer.c
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
Diffstat (limited to 'apps/playlist_viewer.c')
-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)
898 898
899 switch (button) 899 switch (button)
900 { 900 {
901 case TREE_EXIT | BUTTON_REL: 901 case TREE_EXIT:
902#ifdef TREE_OFF
903 case TREE_OFF:
904#endif
902 exit = true; 905 exit = true;
903 break; 906 break;
904 907
@@ -983,9 +986,6 @@ bool playlist_viewer_ex(char* filename)
983 /* ON+PLAY menu */ 986 /* ON+PLAY menu */
984 int ret; 987 int ret;
985 988
986 /* Wait for the user to release the TREE_RUN key */
987 while((button_get(true)) != (TREE_RUN | BUTTON_REL)) {};
988
989 ret = onplay_menu(INDEX(viewer.cursor_pos)); 989 ret = onplay_menu(INDEX(viewer.cursor_pos));
990 990
991 if (ret < 0) 991 if (ret < 0)