From cd0de3bd2668294ab3174d3b5f032fefc25fa0e8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 May 2014 22:48:01 +0300 Subject: Fix code style in utils. --- src/utils/sdlpixel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/sdlpixel.h') diff --git a/src/utils/sdlpixel.h b/src/utils/sdlpixel.h index 282b90afb..5152a68c2 100644 --- a/src/utils/sdlpixel.h +++ b/src/utils/sdlpixel.h @@ -86,7 +86,7 @@ inline void SDLputPixel(SDL_Surface* surface, int x, int y, SDL_LockSurface(surface); Uint8 *const p = static_cast(surface->pixels) - + y * surface->pitch + x * bpp; + + static_cast(y * surface->pitch + x * bpp); const Uint32 pixel = SDL_MapRGB(surface->format, static_cast(color.r), static_cast(color.g), @@ -183,7 +183,7 @@ inline void SDLputPixelAlpha(SDL_Surface* surface, int x, int y, SDL_LockSurface(surface); Uint8 *const p = static_cast(surface->pixels) - + y * surface->pitch + x * bpp; + + static_cast(y * surface->pitch + x * bpp); const Uint32 pixel = SDL_MapRGB(surface->format, static_cast(color.r), -- cgit v1.2.3-70-g09d2