summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-23 03:12:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-23 03:12:59 +0300
commita74191bc53df482ce637ba585016105673add785 (patch)
treeb9278259cb1cf9249117b80baeddaff34f7c0a91 /src/graphics.cpp
parentdb39d0fd0f3487bff91fd727e87546964f0cda69 (diff)
downloadplus-a74191bc53df482ce637ba585016105673add785.tar.gz
plus-a74191bc53df482ce637ba585016105673add785.tar.bz2
plus-a74191bc53df482ce637ba585016105673add785.tar.xz
plus-a74191bc53df482ce637ba585016105673add785.zip
Fix some code style and compilation warnings.
Diffstat (limited to 'src/graphics.cpp')
-rw-r--r--src/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/graphics.cpp b/src/graphics.cpp
index c5163f791..6a6760c36 100644
--- a/src/graphics.cpp
+++ b/src/graphics.cpp
@@ -685,7 +685,8 @@ int Graphics::SDL_FakeUpperBlit (SDL_Surface *src, SDL_Rect *srcrect,
/* If the destination rectangle is NULL, use the entire dest surface */
if (dstrect == NULL)
{
- fulldst.x = fulldst.y = 0;
+ fulldst.x = 0;
+ fulldst.y = 0;
dstrect = &fulldst;
}