Fix typo.

This commit is contained in:
Konstantin Seiler 2020-02-27 12:25:25 +11:00
parent 873f86bb96
commit f3b13beb17

View file

@ -614,7 +614,7 @@ impl SpircTask {
PlayerEvent::Stopped { .. } => match self.play_status { PlayerEvent::Stopped { .. } => match self.play_status {
SpircPlayStatus::Stopped => (), SpircPlayStatus::Stopped => (),
_ => { _ => {
warn!("The player has stopped unexpentedly."); warn!("The player has stopped unexpectedly.");
self.state.set_status(PlayStatus::kPlayStatusStop); self.state.set_status(PlayStatus::kPlayStatusStop);
self.ensure_mixer_stopped(); self.ensure_mixer_stopped();
self.notify(None, true); self.notify(None, true);