summaryrefslogtreecommitdiff
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 2cdfa7f582..d851470392 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -78,7 +78,7 @@
78#define MAX_PLAYLIST_ENTRIES 200 78#define MAX_PLAYLIST_ENTRIES 200
79 79
80/* Default playlist name for saving */ 80/* Default playlist name for saving */
81#define DEFAULT_PLAYLIST_NAME "/viewer.m3u" 81#define DEFAULT_VIEWER_PLAYLIST_NAME "/viewer.m3u"
82 82
83/* Index of track on display line _pos */ 83/* Index of track on display line _pos */
84#define INDEX(_pos) (viewer.first_display_index - viewer.first_index + (_pos)) 84#define INDEX(_pos) (viewer.first_display_index - viewer.first_index + (_pos))
@@ -797,7 +797,7 @@ static bool save_playlist(void)
797{ 797{
798 char filename[MAX_PATH+1]; 798 char filename[MAX_PATH+1];
799 799
800 strncpy(filename, DEFAULT_PLAYLIST_NAME, sizeof(filename)); 800 strncpy(filename, DEFAULT_VIEWER_PLAYLIST_NAME, sizeof(filename));
801 801
802 if (!kbd_input(filename, sizeof(filename))) 802 if (!kbd_input(filename, sizeof(filename)))
803 { 803 {