Mercurial > sdl-ios-xcode
diff src/video/SDL_bmp.c @ 2990:502adab079a4
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2009 17:14:27 +0000 |
parents | 1ee69e7e7cea |
children | 1a08749aebce |
line wrap: on
line diff
--- a/src/video/SDL_bmp.c Sun Jan 04 17:10:04 2009 +0000 +++ b/src/video/SDL_bmp.c Sun Jan 04 17:14:27 2009 +0000 @@ -412,7 +412,8 @@ 32-bit BMP with alpha channel, otherwise save a 24-bit BMP. */ if (save32bit) { SDL_InitFormat(&format, 32, - 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000); + 0x00FF0000, 0x0000FF00, 0x000000FF, + 0xFF000000); } else { SDL_InitFormat(&format, 24, #if SDL_BYTEORDER == SDL_LIL_ENDIAN @@ -424,7 +425,8 @@ } surface = SDL_ConvertSurface(saveme, &format, 0); if (!surface) { - SDL_SetError("Couldn't convert image to %d bpp", format.BitsPerPixel); + SDL_SetError("Couldn't convert image to %d bpp", + format.BitsPerPixel); } } }