aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/player_control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player_control.c b/src/player_control.c
index e27052a4d..26b7e517a 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -149,7 +149,8 @@ enum player_state getPlayerState(void)
void clearPlayerError(void)
{
- pc.error = 0;
+ pc.error = PLAYER_ERROR_NOERROR;
+ pc.errored_song = NULL;
}
enum player_error getPlayerError(void)