summaryrefslogtreecommitdiff
path: root/src/graphics.cpp
diff options
context:
space:
mode:
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;
}