examples/2048: Use ebitenutil.JoinStringsIntoFilePath

This commit is contained in:
Hajime Hoshi 2018-01-22 23:48:44 +09:00
parent 0893b04cbf
commit 77ac796b3f

View File

@ -40,7 +40,7 @@ var (
)
func init() {
f, err := ebitenutil.OpenFile("_resources/fonts/mplus-1p-regular.ttf")
f, err := ebitenutil.OpenFile(ebitenutil.JoinStringsIntoFilePath("_resources", "fonts", "mplus-1p-regular.ttf"))
if err != nil {
log.Fatal(err)
}