This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 34ebf07118de8737fa22d5892571ef48305a19a7
Author: David Capello <[email protected]>
Date:   Fri May 6 16:52:56 2016 -0300

    Fix warning ptr <-> bool conversion in MoveMaskCommand::onEnabled()
---
 src/app/commands/cmd_move_mask.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/commands/cmd_move_mask.cpp 
b/src/app/commands/cmd_move_mask.cpp
index e8a8c5f..962bfa9 100644
--- a/src/app/commands/cmd_move_mask.cpp
+++ b/src/app/commands/cmd_move_mask.cpp
@@ -80,7 +80,7 @@ bool MoveMaskCommand::onEnabled(Context* context)
                                    ContextFlags::HasVisibleMask |
                                    ContextFlags::HasActiveImage);
       else
-        return current_editor;
+        return (current_editor ? true: false);
 
   }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/aseprite.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to