src/video/SDL_bmp.c
changeset 7191 75360622e65f
parent 7068 1fa727447de3
child 7375 c8b16b3a3c9b
     1.1 --- a/src/video/SDL_bmp.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/video/SDL_bmp.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -20,14 +20,14 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  
     1.7 -/* 
     1.8 +/*
     1.9     Code to load and save surfaces in Windows BMP format.
    1.10  
    1.11     Why support BMP format?  Well, it's a native format for Windows, and
    1.12     most image processing programs can read and write it.  It would be nice
    1.13     to be able to have at least one image format that we can natively load
    1.14     and save, and since PNG is so complex that it would bloat the library,
    1.15 -   BMP is a good alternative. 
    1.16 +   BMP is a good alternative.
    1.17  
    1.18     This code currently supports Win32 DIBs in uncompressed 8 and 24 bpp.
    1.19  */
    1.20 @@ -40,10 +40,10 @@
    1.21  
    1.22  /* Compression encodings for BMP files */
    1.23  #ifndef BI_RGB
    1.24 -#define BI_RGB		0
    1.25 -#define BI_RLE8		1
    1.26 -#define BI_RLE4		2
    1.27 -#define BI_BITFIELDS	3
    1.28 +#define BI_RGB      0
    1.29 +#define BI_RLE8     1
    1.30 +#define BI_RLE4     2
    1.31 +#define BI_BITFIELDS    3
    1.32  #endif
    1.33  
    1.34  
    1.35 @@ -439,7 +439,7 @@
    1.36              /* If the surface has a colorkey or alpha channel we'll save a
    1.37                 32-bit BMP with alpha channel, otherwise save a 24-bit BMP. */
    1.38              if (save32bit) {
    1.39 -                SDL_InitFormat(&format, 
    1.40 +                SDL_InitFormat(&format,
    1.41  #if SDL_BYTEORDER == SDL_LIL_ENDIAN
    1.42                                 SDL_PIXELFORMAT_ARGB8888
    1.43  #else