examples/keyboard: Minor typo fix (#1436)

This commit is contained in:
Chris S. Kim 2020-12-14 21:55:17 -05:00 committed by GitHub
parent 146357c298
commit 3d5733f693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ import (
"github.com/hajimehoshi/ebiten/v2"
"github.com/hajimehoshi/ebiten/v2/ebitenutil"
"github.com/hajimehoshi/ebiten/v2/examples/keyboard/keyboard"
rkeyabord "github.com/hajimehoshi/ebiten/v2/examples/resources/images/keyboard"
rkeyboard "github.com/hajimehoshi/ebiten/v2/examples/resources/images/keyboard"
)
const (
@ -37,7 +37,7 @@ const (
var keyboardImage *ebiten.Image
func init() {
img, _, err := image.Decode(bytes.NewReader(rkeyabord.Keyboard_png))
img, _, err := image.Decode(bytes.NewReader(rkeyboard.Keyboard_png))
if err != nil {
log.Fatal(err)
}