Commit 9fa3d7c4 authored by Thomas Jansen's avatar Thomas Jansen Committed by Max Kellermann

playlist_state: Fix the "state" line in the output

An '\n' was erroneously inserted in the line containing the state, e.g. "state: \nplay" instead of "state: play". Fix for bug #2992.
parent 9423b456
......@@ -59,7 +59,7 @@ playlist_state_save(FILE *fp, const struct playlist *playlist)
pc_get_status(&player_status);
fputs(PLAYLIST_STATE_FILE_STATE "\n", fp);
fputs(PLAYLIST_STATE_FILE_STATE, fp);
if (playlist->playing) {
switch (player_status.state) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment