diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2022-12-04 05:38:50 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2022-12-04 05:38:50 +0100 |
commit | 0550c64226a6edfd9bc51b914fb4932840543354 (patch) | |
tree | e3b4c595a5825ed7feac36805acdc5d19f98ed86 /apps/playlist_catalog.c | |
parent | 879b5dae3983441d60b5860a3924cf3248284a03 (diff) | |
download | rockbox-0550c64226a6edfd9bc51b914fb4932840543354.tar.gz rockbox-0550c64226a6edfd9bc51b914fb4932840543354.zip |
Bookmarks: Fix autoload return from bookmark selection
- Fix placement of parentheses from commit 780990
- Return cancel when play_bookmark fails or user declines
to erase dynamic playlist after warning
- Go back to Playlist Catalogue when user cancels out of
screen
Change-Id: Ibe8c315bdf8c6c9e696f68541b5d4d97dc0e778a
Diffstat (limited to 'apps/playlist_catalog.c')
-rw-r--r-- | apps/playlist_catalog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c index b160d6c3f4..56a90052da 100644 --- a/apps/playlist_catalog.c +++ b/apps/playlist_catalog.c | |||
@@ -217,6 +217,8 @@ restart: | |||
217 | int res = bookmark_autoload(selected_playlist); | 217 | int res = bookmark_autoload(selected_playlist); |
218 | if (res == BOOKMARK_DO_RESUME) | 218 | if (res == BOOKMARK_DO_RESUME) |
219 | result = 0; | 219 | result = 0; |
220 | else if (res == BOOKMARK_CANCEL) | ||
221 | goto restart; | ||
220 | else | 222 | else |
221 | { | 223 | { |
222 | switch (playlist_viewer_ex(selected_playlist, &most_recent_selection)) { | 224 | switch (playlist_viewer_ex(selected_playlist, &most_recent_selection)) { |