summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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)