Changed spelling for consistency.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 15 May 2013 22:10:06 +0200
changeset 717666cf9f85494e
parent 7175 45276691c8c8
child 7177 8261f0946a2f
Changed spelling for consistency.
test/testautomation_render.c
test/testautomation_surface.c
     1.1 --- a/test/testautomation_render.c	Wed May 15 22:00:28 2013 +0200
     1.2 +++ b/test/testautomation_render.c	Wed May 15 22:10:06 2013 +0200
     1.3 @@ -113,7 +113,7 @@
     1.4     int checkFailCount1;
     1.5     int checkFailCount2;
     1.6  
     1.7 -   /* Need drawcolour or just skip test. */
     1.8 +   /* Need drawcolor or just skip test. */
     1.9     SDLTest_AssertCheck(_hasDrawColor(), "_hasDrawColor");
    1.10  
    1.11     /* Draw a rectangle. */
    1.12 @@ -216,7 +216,7 @@
    1.13     int checkFailCount2;
    1.14     int checkFailCount3;
    1.15  
    1.16 -   /* Need drawcolour and blendmode or just skip test. */
    1.17 +   /* Need drawcolor and blendmode or just skip test. */
    1.18     SDLTest_AssertCheck(_hasDrawColor(), "_hasDrawColor");
    1.19     SDLTest_AssertCheck(_hasBlendModes(), "_hasBlendModes");
    1.20  
    1.21 @@ -363,7 +363,7 @@
    1.22     int checkFailCount1;
    1.23  
    1.24  
    1.25 -   /* Need drawcolour or just skip test. */
    1.26 +   /* Need drawcolor or just skip test. */
    1.27     SDLTest_AssertCheck(_hasDrawColor(), "_hasDrawColor)");
    1.28  
    1.29     /* Create face surface. */
    1.30 @@ -410,7 +410,7 @@
    1.31  
    1.32  
    1.33  /**
    1.34 - * @brief Blits doing colour tests.
    1.35 + * @brief Blits doing color tests.
    1.36   *
    1.37   * \sa
    1.38   * http://wiki.libsdl.org/moin.cgi/SDL_SetTextureColorMod
    1.39 @@ -445,12 +445,12 @@
    1.40     ni     = TESTRENDER_SCREEN_W - tw;
    1.41     nj     = TESTRENDER_SCREEN_H - th;
    1.42  
    1.43 -   /* Test blitting with colour mod. */
    1.44 +   /* Test blitting with color mod. */
    1.45     checkFailCount1 = 0;
    1.46     checkFailCount2 = 0;
    1.47     for (j=0; j <= nj; j+=4) {
    1.48        for (i=0; i <= ni; i+=4) {
    1.49 -         /* Set colour mod. */
    1.50 +         /* Set color mod. */
    1.51           ret = SDL_SetTextureColorMod( tface, (255/nj)*j, (255/ni)*i, (255/nj)*j );
    1.52           if (ret != 0) checkFailCount1++;
    1.53  
    1.54 @@ -698,7 +698,7 @@
    1.55     for (j=0; j <= nj; j+=4) {
    1.56        for (i=0; i <= ni; i+=4) {
    1.57  
    1.58 -         /* Set colour mod. */
    1.59 +         /* Set color mod. */
    1.60           ret = SDL_SetTextureColorMod( tface, (255/nj)*j, (255/ni)*i, (255/nj)*j );
    1.61           if (ret != 0) checkFailCount1++;
    1.62  
    1.63 @@ -752,7 +752,7 @@
    1.64  }
    1.65  
    1.66  /**
    1.67 - * @brief Test to see if we can vary the draw colour. Helper function.
    1.68 + * @brief Test to see if we can vary the draw color. Helper function.
    1.69   *
    1.70   * \sa
    1.71   * http://wiki.libsdl.org/moin.cgi/SDL_SetRenderDrawColor
    1.72 @@ -766,7 +766,7 @@
    1.73  
    1.74     fail = 0;
    1.75  
    1.76 -   /* Set colour. */
    1.77 +   /* Set color. */
    1.78     ret = SDL_SetRenderDrawColor(renderer, 100, 100, 100, 100 );
    1.79     if (!_isSupported(ret))
    1.80        fail = 1;
    1.81 @@ -875,7 +875,7 @@
    1.82  
    1.83  
    1.84  /**
    1.85 - * @brief Test to see if can set texture colour mode. Helper function.
    1.86 + * @brief Test to see if can set texture color mode. Helper function.
    1.87   *
    1.88   * \sa
    1.89   * http://wiki.libsdl.org/moin.cgi/SDL_SetTextureColorMod
    1.90 @@ -1016,7 +1016,7 @@
    1.91  {
    1.92     int ret;
    1.93  
    1.94 -   /* Set colour. */
    1.95 +   /* Set color. */
    1.96     ret = SDL_SetRenderDrawColor(renderer, 0, 0, 0, SDL_ALPHA_OPAQUE );
    1.97     SDLTest_AssertCheck(ret == 0, "Validate result from SDL_SetRenderDrawColor, expected: 0, got: %i", ret);
    1.98  
     2.1 --- a/test/testautomation_surface.c	Wed May 15 22:00:28 2013 +0200
     2.2 +++ b/test/testautomation_surface.c	Wed May 15 22:10:06 2013 +0200
     2.3 @@ -155,7 +155,7 @@
     2.4  	for (j=0; j <= nj; j+=4) {
     2.5  	  for (i=0; i <= ni; i+=4) {
     2.6  	  	if (mode == -2) {
     2.7 -			/* Set colour mod. */
     2.8 +			/* Set color mod. */
     2.9  			ret = SDL_SetSurfaceColorMod( face, (255/nj)*j, (255/ni)*i, (255/nj)*j );
    2.10  			if (ret != 0) checkFailCount2++;
    2.11  		}