From 9fa3d7c4fa57dbc24a8e80b1bf1be9e2033133c8 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Wed, 22 Sep 2010 22:24:04 +0200 Subject: 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. --- src/playlist_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/playlist_state.c') diff --git a/src/playlist_state.c b/src/playlist_state.c index 89bb5660..bb9897e0 100644 --- a/src/playlist_state.c +++ b/src/playlist_state.c @@ -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) { -- cgit v1.2.3