src/video/SDL_RLEaccel.c
changeset 7128 e10c5a9cc858
parent 7037 3fedf1f25b94
child 7191 75360622e65f
     1.1 --- a/src/video/SDL_RLEaccel.c	Mon Apr 29 23:41:49 2013 +0200
     1.2 +++ b/src/video/SDL_RLEaccel.c	Mon Apr 29 23:45:40 2013 +0200
     1.3 @@ -464,7 +464,7 @@
     1.4      srcbuf = (Uint8 *) src->map->data;
     1.5  
     1.6      {
     1.7 -        /* skip lines at the top if neccessary */
     1.8 +        /* skip lines at the top if necessary */
     1.9          int vskip = srcrect->y;
    1.10          int ofs = 0;
    1.11          if (vskip) {
    1.12 @@ -1451,7 +1451,7 @@
    1.13  /*
    1.14   * Un-RLE a surface with pixel alpha
    1.15   * This may not give back exactly the image before RLE-encoding; all
    1.16 - * completely transparent pixels will be lost, and colour and alpha depth
    1.17 + * completely transparent pixels will be lost, and color and alpha depth
    1.18   * may have been reduced (when encoding for 16bpp targets).
    1.19   */
    1.20  static SDL_bool
    1.21 @@ -1545,7 +1545,7 @@
    1.22                      return;
    1.23                  }
    1.24  
    1.25 -                /* fill it with the background colour */
    1.26 +                /* fill it with the background color */
    1.27                  SDL_FillRect(surface, NULL, surface->map->info.colorkey);
    1.28  
    1.29                  /* now render the encoded surface */