From 09ad9978a91b2a3e92b065538ce92d3641414be4 Mon Sep 17 00:00:00 2001 From: Ahmet Affan <118509044+lidldev@users.noreply.github.com> Date: Mon, 8 Apr 2024 21:19:50 +0300 Subject: [PATCH] Missing parentheses fixed --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 309255f..6fa85e9 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ func main() { // Parse .tmx file. gameMap, err := tiled.LoadFile(mapPath) if err != nil { - fmt.Printf("error parsing map: %s", err.Error() + fmt.Printf("error parsing map: %s", err.Error()) os.Exit(2) } @@ -42,14 +42,14 @@ func main() { // use with the default Renderer, or by making your own. renderer, err := render.NewRenderer(gameMap) if err != nil { - fmt.Printf("map unsupported for rendering: %s", err.Error() + fmt.Printf("map unsupported for rendering: %s", err.Error()) os.Exit(2) } // Render just layer 0 to the Renderer. err = renderer.RenderLayer(0) if err != nil { - fmt.Printf("layer unsupported for rendering: %s", err.Error() + fmt.Printf("layer unsupported for rendering: %s", err.Error()) os.Exit(2) }