src/video/SDL_bmp.c
changeset 2990 502adab079a4
parent 2969 1ee69e7e7cea
child 3024 1a08749aebce
     1.1 --- a/src/video/SDL_bmp.c	Sun Jan 04 17:10:04 2009 +0000
     1.2 +++ b/src/video/SDL_bmp.c	Sun Jan 04 17:14:27 2009 +0000
     1.3 @@ -412,7 +412,8 @@
     1.4                 32-bit BMP with alpha channel, otherwise save a 24-bit BMP. */
     1.5              if (save32bit) {
     1.6                  SDL_InitFormat(&format, 32,
     1.7 -                               0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000);
     1.8 +                               0x00FF0000, 0x0000FF00, 0x000000FF,
     1.9 +                               0xFF000000);
    1.10              } else {
    1.11                  SDL_InitFormat(&format, 24,
    1.12  #if SDL_BYTEORDER == SDL_LIL_ENDIAN
    1.13 @@ -424,7 +425,8 @@
    1.14              }
    1.15              surface = SDL_ConvertSurface(saveme, &format, 0);
    1.16              if (!surface) {
    1.17 -                SDL_SetError("Couldn't convert image to %d bpp", format.BitsPerPixel);
    1.18 +                SDL_SetError("Couldn't convert image to %d bpp",
    1.19 +                             format.BitsPerPixel);
    1.20              }
    1.21          }
    1.22      }