From 0a216e5d9a7f8965193d3999e2da7dcf87a9d555 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 16 Oct 2019 04:58:41 +0300 Subject: Fix some more code style issues [ci skip] Fix style issues in sdl2softwaregraphics.cpp --- src/render/sdl2softwaregraphics.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index 8eb0519f5..836c377df 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -841,7 +841,10 @@ int SDL2SoftwareGraphics::SDL_FakeUpperBlit(const SDL_Surface *restrict const SDL_Rect *restrict dstrect) const restrict2 { - int srcx, srcy, w, h; + int srcx; + int srcy; + int w; + int h; // Make sure the surfaces aren't locked if (!src || !dst) @@ -942,7 +945,8 @@ void SDL2SoftwareGraphics::fillRectangle(const Rect &restrict rectangle) area.x + area.width : top.x + top.width; const int y2 = area.y + area.height < top.y + top.height ? area.y + area.height : top.y + top.height; - int x, y; + int x; + int y; SDL_LockSurface(mSurface); -- cgit v1.2.3-60-g2f50