summaryrefslogtreecommitdiff
path: root/src/sdlgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-27 20:22:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-27 21:52:59 +0300
commit53ae7cee19c269a6ebf53e468825305d448ff006 (patch)
treefb43a66adaacc3bb2e42a8d346b5d267f2b807c8 /src/sdlgraphics.cpp
parenteb9841897bbe93da6aa4ca2537a3e22b3a868d98 (diff)
downloadmv-53ae7cee19c269a6ebf53e468825305d448ff006.tar.gz
mv-53ae7cee19c269a6ebf53e468825305d448ff006.tar.bz2
mv-53ae7cee19c269a6ebf53e468825305d448ff006.tar.xz
mv-53ae7cee19c269a6ebf53e468825305d448ff006.zip
fix code style.
Diffstat (limited to 'src/sdlgraphics.cpp')
-rw-r--r--src/sdlgraphics.cpp5
1 files changed, 3 insertions, 2 deletions
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;