Fixed whitespace
authorSam Lantinga <slouken@libsdl.org>
Fri, 18 Oct 2019 08:56:54 -0700
changeset 13146d7af4858793e
parent 13145 b8aa9ab0ecb4
child 13147 53e11e5138f3
Fixed whitespace
src/video/SDL_surface.c
     1.1 --- a/src/video/SDL_surface.c	Fri Oct 18 14:23:37 2019 +0200
     1.2 +++ b/src/video/SDL_surface.c	Fri Oct 18 08:56:54 2019 -0700
     1.3 @@ -42,11 +42,11 @@
     1.4  {
     1.5      int pitch;
     1.6  
     1.7 -	if (SDL_ISPIXELFORMAT_FOURCC(format) || SDL_BITSPERPIXEL(format) >= 8) {
     1.8 -		pitch = (width * SDL_BYTESPERPIXEL(format));
     1.9 -	} else {
    1.10 -		pitch = ((width * SDL_BITSPERPIXEL(format)) + 7) / 8;
    1.11 -	}
    1.12 +    if (SDL_ISPIXELFORMAT_FOURCC(format) || SDL_BITSPERPIXEL(format) >= 8) {
    1.13 +        pitch = (width * SDL_BYTESPERPIXEL(format));
    1.14 +    } else {
    1.15 +        pitch = ((width * SDL_BITSPERPIXEL(format)) + 7) / 8;
    1.16 +    }
    1.17      pitch = (pitch + 3) & ~3;   /* 4-byte aligning for speed */
    1.18      return pitch;
    1.19  }