Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Corrected words in comments of test programs.

  • Loading branch information
philippwiesemann committed Jul 27, 2013
1 parent 2f5854b commit 15ebd0f037248c1d8090b5bec1808175861fd58c
Showing with 5 additions and 5 deletions.
  1. +1 −1 test/testatomic.c
  2. +2 −2 test/testdrawchessboard.c
  3. +2 −2 test/testfile.c
@@ -91,7 +91,7 @@ void RunBasicTest()
/* Tests semantics of atomic operations. Also a stress test
* to see if they are really atomic.
*
* Serveral threads adding to the same variable.
* Several threads adding to the same variable.
* at the end the value is compared with the expected
* and with a non-atomic counter.
*/
@@ -75,7 +75,7 @@ main(int argc, char *argv[])
return 1;
}

/* Clear the rendering surface with the specidfied colour */
/* Clear the rendering surface with the specified color */
SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0);
SDL_RenderClear(renderer);

@@ -94,7 +94,7 @@ main(int argc, char *argv[])

DrawChessBoard(renderer);

/* Got everything on redering surface,
/* Got everything on rendering surface,
now Update the drawing image on window screen */
SDL_UpdateWindowSurface(window);

@@ -92,8 +92,8 @@ main(int argc, char *argv[])
RWOP_ERR_QUIT(rwops);
printf("test1 OK\n");

/* test 2 : check that inexistant file is not successfully opened/created when required */
/* modes : r, r+ implie that file MUST exist
/* test 2 : check that inexistent file is not successfully opened/created when required */
/* modes : r, r+ imply that file MUST exist
modes : a, a+, w, w+ checks that it succeeds (file may not exists)
*/

0 comments on commit 15ebd0f

Please sign in to comment.