summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/playlist_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist_menu.c b/apps/playlist_menu.c
index c390e8077d..ba4a4fe0d2 100644
--- a/apps/playlist_menu.c
+++ b/apps/playlist_menu.c
@@ -85,9 +85,9 @@ int save_playlist_screen(struct playlist_info* playlist)
if (!filename || (len=strlen(filename)) <= 4 ||
strcasecmp(&filename[len-4], ".m3u"))
- filename = DEFAULT_DYNAMIC_PLAYLIST_NAME;
+ strcpy(filename, DEFAULT_DYNAMIC_PLAYLIST_NAME);
- if (!kbd_input(filename, sizeof(filename)))
+ if (!kbd_input(filename, sizeof(temp)))
{
playlist_save(playlist, filename);