Mercurial > hg > dmlib
diff src/dmimage.c @ 1102:e06abfde6c39
Cosmetics pass: Remove excess whitespace.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 03 Mar 2015 23:22:36 +0200 |
parents | 76b7d1d20545 |
children | 73808dce89e6 |
line wrap: on
line diff
--- a/src/dmimage.c Tue Mar 03 22:32:34 2015 +0200 +++ b/src/dmimage.c Tue Mar 03 23:22:36 2015 +0200 @@ -57,7 +57,7 @@ } if (pixtmp != NULL) SDL_FreeSurface(pixtmp); - + return result; } @@ -70,7 +70,7 @@ result = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 8, 0,0,0,0); if (result == NULL) return NULL; - + dst = result->pixels; src = data; for (yc = 0; yc < height; yc++) @@ -168,7 +168,7 @@ result = dmCreatePaletteSurfaceFrom(data, width, height, width * comp); break; } - + stbi_image_free(data); if (result == NULL)