mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +00:00
Fix compilation warning in cmd_remove_layer.cpp
This commit is contained in:
parent
139ecb5604
commit
0caf41c5fd
@ -56,7 +56,7 @@ bool RemoveLayerCommand::onEnabled(Context* context)
|
||||
{
|
||||
ContextWriter writer(context);
|
||||
Sprite* sprite(writer.sprite());
|
||||
return sprite;
|
||||
return (sprite != NULL);
|
||||
}
|
||||
|
||||
void RemoveLayerCommand::onExecute(Context* context)
|
||||
|
Loading…
x
Reference in New Issue
Block a user