summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playlist.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index c282dc1..85d72dc 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -60,8 +60,10 @@ char* playlist_next(int type)
if('/' == now_playing[1])
return &now_playing[1];
- else
+ else {
+ now_playing[0]='/';
return now_playing;
+ }
}
else
return NULL;