aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/player_control.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player_control.c b/src/player_control.c
index 94d3aa938..68b438cbc 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -49,8 +49,10 @@ void pc_deinit(void)
void
pc_song_deleted(const struct song *song)
{
- if (pc.errored_song == song)
+ if (pc.errored_song == song) {
+ pc.error = PLAYER_ERROR_NOERROR;
pc.errored_song = NULL;
+ }
}
static void player_command(enum player_command cmd)