summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 88bfa73687..f095fe5c58 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -319,8 +319,7 @@ static char* get_tag(struct mp3entry* id3,
319 return buf; 319 return buf;
320 320
321 case 'n': /* Playlist Name (without path) */ 321 case 'n': /* Playlist Name (without path) */
322 playlist_name(buf, buf_size); 322 return playlist_name(buf, buf_size);
323 return buf;
324 323
325 case 'e': /* Playlist Total Entries */ 324 case 'e': /* Playlist Total Entries */
326 snprintf(buf, buf_size, "%d", playlist_amount()); 325 snprintf(buf, buf_size, "%d", playlist_amount());