[aseprite] 66/250: Fix minor formatting issues introduced in #812
Tobias Hansen
thansen at moszumanska.debian.org
Sun Dec 20 15:27:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 9d8f85943844c6e3c936786cb2cbfe8c4619e6e6
Author: David Capello <davidcapello at gmail.com>
Date: Mon Sep 21 17:47:42 2015 -0300
Fix minor formatting issues introduced in #812
---
src/app/cmd/flatten_layers.cpp | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/app/cmd/flatten_layers.cpp b/src/app/cmd/flatten_layers.cpp
index 6f3aed0..a588b68 100644
--- a/src/app/cmd/flatten_layers.cpp
+++ b/src/app/cmd/flatten_layers.cpp
@@ -46,15 +46,13 @@ void FlattenLayers::onExecute()
LayerImage* flatLayer; // The layer onto which everything will be flattened.
color_t bgcolor; // The background color to use for flatLayer.
-
+
flatLayer = sprite->backgroundLayer();
- if (flatLayer && flatLayer->isVisible())
- {
+ if (flatLayer && flatLayer->isVisible()) {
// There exists a visible background layer, so we will flatten onto that.
bgcolor = doc->bgColor(flatLayer);
}
- else
- {
+ else {
// Create a new transparent layer to flatten everything onto.
flatLayer = new LayerImage(sprite);
ASSERT(flatLayer->isVisible());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list