From 96d23f6a8f3d94a81b01b9b9d3c4bcc33cdf9db6 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Wed, 20 Aug 2014 22:51:56 +0200 Subject: [PATCH] Fixed typos in test program. --- test/testdrawchessboard.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/testdrawchessboard.c b/test/testdrawchessboard.c index 1f3c4204649cb..2456b69099685 100644 --- a/test/testdrawchessboard.c +++ b/test/testdrawchessboard.c @@ -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 @@ DrawChessBoard(SDL_Renderer * renderer) 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);