diff options
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index b7f3c9e981..654d33d347 100644 --- a/apps/filetree.c +++ b/apps/filetree.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * __________ __ ___. | 2 | * __________ __ ___. |
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
@@ -43,6 +43,7 @@ | |||
43 | #include "filetree.h" | 43 | #include "filetree.h" |
44 | #include "misc.h" | 44 | #include "misc.h" |
45 | #include "strnatcmp.h" | 45 | #include "strnatcmp.h" |
46 | #include "playlist_viewer.h" | ||
46 | #ifdef HAVE_LCD_BITMAP | 47 | #ifdef HAVE_LCD_BITMAP |
47 | #include "keyboard.h" | 48 | #include "keyboard.h" |
48 | #endif | 49 | #endif |
@@ -445,13 +446,8 @@ int ft_enter(struct tree_context* c) | |||
445 | 446 | ||
446 | switch ( file->attr & FILE_ATTR_MASK ) { | 447 | switch ( file->attr & FILE_ATTR_MASK ) { |
447 | case FILE_ATTR_M3U: | 448 | case FILE_ATTR_M3U: |
448 | play = ft_play_playlist(buf, c->currdir, file->name); | 449 | if (!bookmark_autoload(buf)) |
449 | 450 | playlist_viewer_ex(buf); | |
450 | if (play) | ||
451 | { | ||
452 | start_index = 0; | ||
453 | } | ||
454 | |||
455 | break; | 451 | break; |
456 | 452 | ||
457 | case FILE_ATTR_AUDIO: | 453 | case FILE_ATTR_AUDIO: |