Fix warning ptr <-> bool conversion in MoveMaskCommand::onEnabled()

This commit is contained in:
David Capello 2016-05-06 16:52:56 -03:00
parent 76eca942f0
commit 34ebf07118

View File

@ -80,7 +80,7 @@ bool MoveMaskCommand::onEnabled(Context* context)
ContextFlags::HasVisibleMask |
ContextFlags::HasActiveImage);
else
return current_editor;
return (current_editor ? true: false);
}