mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
audio: Fix wrong English word
This commit is contained in:
parent
18113f259a
commit
632a97974d
@ -614,7 +614,7 @@ func (p *Player) IsPlaying() bool {
|
||||
// Rewind returns error when seeking the source stream returns error.
|
||||
func (p *Player) Rewind() error {
|
||||
if _, ok := p.src.(io.Seeker); !ok {
|
||||
panic("audio: player to be rewinded must be io.Seeker")
|
||||
panic("audio: player to be rewound must be io.Seeker")
|
||||
}
|
||||
return p.Seek(0)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user