diff options
Diffstat (limited to 'apps/playlist_catalog.c')
-rw-r--r-- | apps/playlist_catalog.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c index 9ac9e32e00..2b5020f7f3 100644 --- a/apps/playlist_catalog.c +++ b/apps/playlist_catalog.c | |||
@@ -378,11 +378,9 @@ static int add_to_playlist(const char* playlist, char* sel, int sel_attr) | |||
378 | { | 378 | { |
379 | /* search directory for tracks and append to playlist */ | 379 | /* search directory for tracks and append to playlist */ |
380 | bool recurse = false; | 380 | bool recurse = false; |
381 | char *lines[] = { | 381 | const char *lines[] = { |
382 | (char *)str(LANG_RECURSE_DIRECTORY_QUESTION), | 382 | str(LANG_RECURSE_DIRECTORY_QUESTION), sel}; |
383 | sel | 383 | const struct text_message message={lines, 2}; |
384 | }; | ||
385 | struct text_message message={lines, 2}; | ||
386 | struct add_track_context context; | 384 | struct add_track_context context; |
387 | 385 | ||
388 | if (global_settings.recursive_dir_insert != RECURSE_ASK) | 386 | if (global_settings.recursive_dir_insert != RECURSE_ASK) |