Player: Reverse if

This commit is contained in:
Jonas Kvinge 2022-10-18 20:09:38 +02:00
parent 88854eb558
commit 52139fbaa0
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ void Player::PreviousItem(const Engine::TrackChangeFlags change) {
void Player::EngineStateChanged(const Engine::State state) {
if (Engine::Error == state) {
if (state == Engine::Error) {
nb_errors_received_++;
}
else {