Corrected spelling in C source file.
This commit is contained in:
parent
8b5e69d9c5
commit
b23a53205a
1 changed files with 3 additions and 3 deletions
|
@ -464,7 +464,7 @@ SDL_RLEBlit(SDL_Surface * src, SDL_Rect * srcrect,
|
||||||
srcbuf = (Uint8 *) src->map->data;
|
srcbuf = (Uint8 *) src->map->data;
|
||||||
|
|
||||||
{
|
{
|
||||||
/* skip lines at the top if neccessary */
|
/* skip lines at the top if necessary */
|
||||||
int vskip = srcrect->y;
|
int vskip = srcrect->y;
|
||||||
int ofs = 0;
|
int ofs = 0;
|
||||||
if (vskip) {
|
if (vskip) {
|
||||||
|
@ -1451,7 +1451,7 @@ SDL_RLESurface(SDL_Surface * surface)
|
||||||
/*
|
/*
|
||||||
* Un-RLE a surface with pixel alpha
|
* Un-RLE a surface with pixel alpha
|
||||||
* This may not give back exactly the image before RLE-encoding; all
|
* This may not give back exactly the image before RLE-encoding; all
|
||||||
* completely transparent pixels will be lost, and colour and alpha depth
|
* completely transparent pixels will be lost, and color and alpha depth
|
||||||
* may have been reduced (when encoding for 16bpp targets).
|
* may have been reduced (when encoding for 16bpp targets).
|
||||||
*/
|
*/
|
||||||
static SDL_bool
|
static SDL_bool
|
||||||
|
@ -1545,7 +1545,7 @@ SDL_UnRLESurface(SDL_Surface * surface, int recode)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* fill it with the background colour */
|
/* fill it with the background color */
|
||||||
SDL_FillRect(surface, NULL, surface->map->info.colorkey);
|
SDL_FillRect(surface, NULL, surface->map->info.colorkey);
|
||||||
|
|
||||||
/* now render the encoded surface */
|
/* now render the encoded surface */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue