From 470ae96c3b247fbedd9edf2fda4db8d22c05d16a Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 7 Mar 2010 16:39:58 -0200 Subject: [PATCH] Fixed some new-line issues. --- src/commands/cmd_flip.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/commands/cmd_flip.cpp b/src/commands/cmd_flip.cpp index 62b8b6f0d..0ccd9f800 100644 --- a/src/commands/cmd_flip.cpp +++ b/src/commands/cmd_flip.cpp @@ -100,13 +100,12 @@ void FlipCommand::execute(Context* context) image = GetImage2(sprite, &x, &y, NULL); if (!image) - return; - - // mask is empty? - if (sprite->mask->is_empty()) { - // so we flip the entire image - x1 = 0; - y1 = 0; + return; + // mask is empty? + if (sprite->mask->is_empty()) { + // so we flip the entire image + x1 = 0; + y1 = 0; x2 = image->w-1; y2 = image->h-1; }