From dfb89e13e3fd3805b0fe71dde0a552eebd8cb5da Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 23 Sep 2019 15:55:31 +0900 Subject: [PATCH] mobile/ebitenmobileview: Fix error messages --- mobile/ebitenmobileview/funcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/ebitenmobileview/funcs.go b/mobile/ebitenmobileview/funcs.go index 3f2668f0d..2b598b405 100644 --- a/mobile/ebitenmobileview/funcs.go +++ b/mobile/ebitenmobileview/funcs.go @@ -32,7 +32,7 @@ func Layout(viewWidth, viewHeight int, viewRectSetter ViewRectSetter) { defer theState.m.Unlock() if theState.game == nil { - panic("ebitenmobileview: SetGame must be called before ebitenLayout") + panic("ebitenmobileview: SetGame must be called before Layout") } w, h := theState.game.Layout(int(viewWidth), int(viewHeight))