mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-10 19:13:29 +00:00
Fix warning ptr <-> bool conversion in MoveMaskCommand::onEnabled()
This commit is contained in:
parent
76eca942f0
commit
34ebf07118
@ -80,7 +80,7 @@ bool MoveMaskCommand::onEnabled(Context* context)
|
||||
ContextFlags::HasVisibleMask |
|
||||
ContextFlags::HasActiveImage);
|
||||
else
|
||||
return current_editor;
|
||||
return (current_editor ? true: false);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user