summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist_catalog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c
index 1181f73e3f..9d31ac333c 100644
--- a/apps/playlist_catalog.c
+++ b/apps/playlist_catalog.c
@@ -342,8 +342,7 @@ bool catalog_add_to_a_playlist(const char* sel, int sel_attr,
342 /* If sel is empty, root, or playlist directory we use 'all' */ 342 /* If sel is empty, root, or playlist directory we use 'all' */
343 if (!sel || !strcmp(sel, "/") || !strcmp(sel, playlist_dir)) 343 if (!sel || !strcmp(sel, "/") || !strcmp(sel, playlist_dir))
344 { 344 {
345 if (!sel || !strcmp(sel, PLAYLIST_CATALOG_DEFAULT_DIR)) 345 sel = "/";
346 sel = "/";
347 name = "/all"; 346 name = "/all";
348 } 347 }
349 else /*If sel is a folder, we prefill the text field with its name*/ 348 else /*If sel is a folder, we prefill the text field with its name*/