From d37ad8f1ba6aa89b83e493d0c9567c0e047fd5bb Mon Sep 17 00:00:00 2001
From: faiface <faiface@ksp.sk>
Date: Fri, 28 Apr 2017 18:11:29 +0200
Subject: [PATCH] fix two typos in comments in platformer example

---
 examples/platformer/main.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/platformer/main.go b/examples/platformer/main.go
index 73974cd..ee2971e 100644
--- a/examples/platformer/main.go
+++ b/examples/platformer/main.go
@@ -116,7 +116,7 @@ func (gp *gopherPhys) update(dt float64, ctrl pixel.Vec, platforms []platform) {
 	gp.vel += pixel.Y(gp.gravity).Scaled(dt)
 	gp.rect = gp.rect.Moved(gp.vel.Scaled(dt))
 
-	// check collisions agains each platform
+	// check collisions against each platform
 	gp.ground = false
 	if gp.vel.Y() <= 0 {
 		for _, p := range platforms {
@@ -213,7 +213,7 @@ func (ga *gopherAnim) draw(t pixel.Target, phys *gopherPhys) {
 	if ga.sprite == nil {
 		ga.sprite = pixel.NewSprite(nil, pixel.Rect{})
 	}
-	// draw the correct frame with the correct positon and direction
+	// draw the correct frame with the correct position and direction
 	ga.sprite.Set(ga.sheet, ga.frame)
 	ga.sprite.SetMatrix(pixel.IM.
 		ScaledXY(0, pixel.V(
-- 
GitLab