From 15ebd0f037248c1d8090b5bec1808175861fd58c Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 27 Jul 2013 21:02:50 +0200 Subject: [PATCH] Corrected words in comments of test programs. --- test/testatomic.c | 2 +- test/testdrawchessboard.c | 4 ++-- test/testfile.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/testatomic.c b/test/testatomic.c index 7205c0274..be60a611b 100644 --- a/test/testatomic.c +++ b/test/testatomic.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. */ diff --git a/test/testdrawchessboard.c b/test/testdrawchessboard.c index a48f57087..8217c93b4 100644 --- a/test/testdrawchessboard.c +++ b/test/testdrawchessboard.c @@ -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); diff --git a/test/testfile.c b/test/testfile.c index 1aaa3a8db..d82d0eb7c 100644 --- a/test/testfile.c +++ b/test/testfile.c @@ -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) */