1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2004-11-17 13:28:25 +00:00
parent 4bd3e61de9
commit 6b4e5f8881

View file

@ -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)