summaryrefslogtreecommitdiffstats
path: root/apps/playlist_catalog.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist_catalog.c')
-rw-r--r--apps/playlist_catalog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index 65a48611c0..01cbc31600 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -161,7 +161,9 @@ static int display_playlists(char* playlist, bool view)
restart:
browse.flags &= ~BROWSE_SELECTED;
- if (rockbox_browse(&browse) == GO_TO_WPS)
+ int browse_ret = rockbox_browse(&browse);
+ if (browse_ret == GO_TO_WPS
+ || (view && browse_ret == GO_TO_PREVIOUS_MUSIC))
result = 0;
if (browse.flags & BROWSE_SELECTED)