diff options
Diffstat (limited to '')
-rw-r--r-- | src/ls.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -172,7 +172,9 @@ int lsPlaylists(FILE * fp, char * utf8path) { node = list->firstNode; while(node!=NULL) { - myfprintf(fp,"playlist: %s%s\n",dup,node->key); + if(!strchr(node->key, '\n')) { + myfprintf(fp,"playlist: %s%s\n",dup,node->key); + } node = node->nextNode; } |