From 5ff7a99ebd4d9708ba75b1387acd98fe23865a61 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 29 Aug 2017 07:11:33 +0300 Subject: Fix style issues in sdl.cc --- src/unittests/sdl.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/unittests/sdl.cc') diff --git a/src/unittests/sdl.cc b/src/unittests/sdl.cc index b0d8516e1..df29c9bd1 100644 --- a/src/unittests/sdl.cc +++ b/src/unittests/sdl.cc @@ -52,7 +52,6 @@ PRAGMA48(GCC diagnostic ignored "-Wshadow") PRAGMA48(GCC diagnostic pop) #ifndef UNITTESTS_CATCH -//#include #endif // UNITTESTS_CATCH #include "debug.h" @@ -128,10 +127,12 @@ TEST_CASE("sdl tests", "sdl") ptr[f] = 300 * f; } #ifdef USE_SDL2 - SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface( + surface); #else // USE_SDL2 - SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface( + surface); #endif // USE_SDL2 uint32_t *ptr2 = reinterpret_cast(surface2->pixels); @@ -167,10 +168,12 @@ TEST_CASE("sdl tests", "sdl") ptr[f] = 300 * f; } #ifdef USE_SDL2 - SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SurfaceImageHelper::SDLDuplicateSurface( + surface); #else // USE_SDL2 - SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface(surface); + SDL_Surface *surface2 = SDLImageHelper::SDLDuplicateSurface( + surface); #endif // USE_SDL2 uint32_t *ptr2 = reinterpret_cast(surface2->pixels); -- cgit v1.2.3-70-g09d2