From 53ae7cee19c269a6ebf53e468825305d448ff006 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 27 Aug 2013 20:22:09 +0300 Subject: fix code style. --- src/sdlgraphics.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sdlgraphics.cpp') diff --git a/src/sdlgraphics.cpp b/src/sdlgraphics.cpp index 4d7e49afa..fc9f949a1 100644 --- a/src/sdlgraphics.cpp +++ b/src/sdlgraphics.cpp @@ -58,7 +58,8 @@ SDLGraphics::~SDLGraphics() { } -bool SDLGraphics::drawRescaledImage(const Image *const image, int srcX, int srcY, +bool SDLGraphics::drawRescaledImage(const Image *const image, + int srcX, int srcY, int dstX, int dstY, const int width, const int height, const int desiredWidth, @@ -626,7 +627,7 @@ int SDLGraphics::SDL_FakeUpperBlit(const SDL_Surface *const src, if (!src || !dst) return -1; - if (!srcrect ||!dstrect) + if (!srcrect || !dstrect) return -1; srcx = srcrect->x; -- cgit v1.2.3-60-g2f50