[aseprite] 112/250: Use "alpha" local variable

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:18 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 e2c0e0a435d8851f06371166d718acf81e77e82d
Author: David Capello <davidcapello at gmail.com>
Date:   Wed Sep 30 16:31:23 2015 -0300

    Use "alpha" local variable
---
 src/app/commands/cmd_paste_text.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/commands/cmd_paste_text.cpp b/src/app/commands/cmd_paste_text.cpp
index 004fe57..29fcbb3 100644
--- a/src/app/commands/cmd_paste_text.cpp
+++ b/src/app/commands/cmd_paste_text.cpp
@@ -209,7 +209,7 @@ void PasteTextCommand::onExecute(Context* ctx)
                   doc::rgba(doc::rgba_getr(color),
                             doc::rgba_getg(color),
                             doc::rgba_getb(color),
-                            MUL_UN8(doc::rgba_geta(color), *p, t)), 255));
+                            MUL_UN8(doc::rgba_geta(color), alpha, t)), 255));
             }
           }
         });

-- 
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