diff options
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index 06d92bc944..dbdcef6820 100644 --- a/apps/filetree.c +++ b/apps/filetree.c | |||
@@ -100,7 +100,8 @@ bool ft_play_playlist(char* pathname, char* dirname, | |||
100 | 100 | ||
101 | if (!skip_warn_and_bookmarks) | 101 | if (!skip_warn_and_bookmarks) |
102 | { | 102 | { |
103 | if (bookmark_autoload(pathname) || !warn_on_pl_erase()) | 103 | int res = bookmark_autoload(pathname); |
104 | if (res == BOOKMARK_CANCEL || res == BOOKMARK_DO_RESUME || !warn_on_pl_erase()) | ||
104 | return false; | 105 | return false; |
105 | } | 106 | } |
106 | 107 | ||
@@ -481,7 +482,9 @@ int ft_enter(struct tree_context* c) | |||
481 | break; | 482 | break; |
482 | 483 | ||
483 | case FILE_ATTR_AUDIO: | 484 | case FILE_ATTR_AUDIO: |
484 | if (bookmark_autoload(c->currdir)) | 485 | { |
486 | int res = bookmark_autoload(c->currdir); | ||
487 | if (res == BOOKMARK_CANCEL || res == BOOKMARK_DO_RESUME) | ||
485 | break; | 488 | break; |
486 | 489 | ||
487 | splash(0, ID2P(LANG_WAIT)); | 490 | splash(0, ID2P(LANG_WAIT)); |
@@ -515,7 +518,7 @@ int ft_enter(struct tree_context* c) | |||
515 | play = true; | 518 | play = true; |
516 | } | 519 | } |
517 | break; | 520 | break; |
518 | 521 | } | |
519 | #if CONFIG_TUNER | 522 | #if CONFIG_TUNER |
520 | /* fmr preset file */ | 523 | /* fmr preset file */ |
521 | case FILE_ATTR_FMR: | 524 | case FILE_ATTR_FMR: |