Skip to content

Commit

Permalink
Fixed typos in test program.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Aug 20, 2014
1 parent aaefa6a commit 96d23f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/testdrawchessboard.c
Expand Up @@ -19,17 +19,17 @@
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 */
SDL_RenderGetViewport(renderer, &darea);

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);

Expand Down

0 comments on commit 96d23f6

Please sign in to comment.