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) { /* search directory for tracks and append to playlist */ bool recurse = false; - char *lines[] = { - (char *)str(LANG_RECURSE_DIRECTORY_QUESTION), - sel - }; - struct text_message message={lines, 2}; + const char *lines[] = { + str(LANG_RECURSE_DIRECTORY_QUESTION), sel}; + const struct text_message message={lines, 2}; struct add_track_context context; if (global_settings.recursive_dir_insert != RECURSE_ASK) |