Fixed not needed calculation in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 04 Jun 2015 17:52:27 +0200
changeset 9703215d1dcd8e90
parent 9702 115bc7548a8d
child 9704 827a407ee74c
Fixed not needed calculation in test program.
test/testdrawchessboard.c
     1.1 --- a/test/testdrawchessboard.c	Thu Jun 04 00:56:11 2015 -0700
     1.2 +++ b/test/testdrawchessboard.c	Thu Jun 04 17:52:27 2015 +0200
     1.3 @@ -39,7 +39,7 @@
     1.4  	for( ; row < 8; row++)
     1.5  	{
     1.6  		column = row%2;
     1.7 -		x = x + column;
     1.8 +		x = column;
     1.9  		for( ; column < 4+(row%2); column++)
    1.10  		{
    1.11  			SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0xFF);
    1.12 @@ -51,7 +51,6 @@
    1.13  			x = x + 2;
    1.14  			SDL_RenderFillRect(renderer, &rect);
    1.15  		}
    1.16 -		x=0;
    1.17  	}
    1.18  }
    1.19