diff --git a/affine.go b/affine.go index bd26c7ef3..83b30d300 100644 --- a/affine.go +++ b/affine.go @@ -38,7 +38,7 @@ func isIdentity(ebiten affine) bool { func add(lhs, rhs, result affine) { dim := lhs.dim() if dim != rhs.dim() { - panic("ebiten: diffrent-sized matrices can't be multiplied") + panic("ebiten: different-sized matrices can't be multiplied") } for i := 0; i < dim-1; i++ { @@ -52,7 +52,7 @@ func add(lhs, rhs, result affine) { func mul(lhs, rhs, result affine) { dim := lhs.dim() if dim != rhs.dim() { - panic("ebiten: diffrent-sized matrices can't be multiplied") + panic("ebiten: different-sized matrices can't be multiplied") } for i := 0; i < dim-1; i++ { diff --git a/examples/airship/main.go b/examples/airship/main.go index 5f926fe4f..b47a9c63a 100644 --- a/examples/airship/main.go +++ b/examples/airship/main.go @@ -213,7 +213,7 @@ func update(screen *ebiten.Image) error { return err } - tutrial := "Space: Move foward\nLeft/Right: Rotate" + tutrial := "Space: Move forward\nLeft/Right: Rotate" msg := fmt.Sprintf("FPS: %0.2f\n%s", ebiten.CurrentFPS(), tutrial) if err := ebitenutil.DebugPrint(screen, msg); err != nil { return err