Fixed typos in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 20 Aug 2014 22:51:56 +0200
changeset 9105 da2bbecb7ad0
parent 9104 8824a6a7ed69
child 9106 d1d0a67ca6c8
Fixed typos in test program.
test/testdrawchessboard.c
--- a/test/testdrawchessboard.c	Wed Aug 20 22:49:59 2014 +0200
+++ b/test/testdrawchessboard.c	Wed Aug 20 22:51:56 2014 +0200
@@ -19,7 +19,7 @@
 void
 DrawChessBoard(SDL_Renderer * renderer)
 {
-	int row = 0,coloum = 0,x = 0;
+	int row = 0,column = 0,x = 0;
 	SDL_Rect rect, darea;
 
 	/* Get the Size of drawing surface */
@@ -27,9 +27,9 @@
 
 	for( ; row < 8; row++)
 	{
-		coloum = row%2;
-		x = x + coloum;
-		for( ; coloum < 4+(row%2); coloum++)
+		column = row%2;
+		x = x + column;
+		for( ; column < 4+(row%2); column++)
 		{
 			SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);