Fixed typos in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 20 Aug 2014 22:51:56 +0200
changeset 9105da2bbecb7ad0
parent 9104 8824a6a7ed69
child 9106 d1d0a67ca6c8
Fixed typos in test program.
test/testdrawchessboard.c
     1.1 --- a/test/testdrawchessboard.c	Wed Aug 20 22:49:59 2014 +0200
     1.2 +++ b/test/testdrawchessboard.c	Wed Aug 20 22:51:56 2014 +0200
     1.3 @@ -19,7 +19,7 @@
     1.4  void
     1.5  DrawChessBoard(SDL_Renderer * renderer)
     1.6  {
     1.7 -	int row = 0,coloum = 0,x = 0;
     1.8 +	int row = 0,column = 0,x = 0;
     1.9  	SDL_Rect rect, darea;
    1.10  
    1.11  	/* Get the Size of drawing surface */
    1.12 @@ -27,9 +27,9 @@
    1.13  
    1.14  	for( ; row < 8; row++)
    1.15  	{
    1.16 -		coloum = row%2;
    1.17 -		x = x + coloum;
    1.18 -		for( ; coloum < 4+(row%2); coloum++)
    1.19 +		column = row%2;
    1.20 +		x = x + column;
    1.21 +		for( ; column < 4+(row%2); column++)
    1.22  		{
    1.23  			SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);
    1.24