prefer bool operator
This commit is contained in:
parent
02ded90618
commit
24c799cde3
@ -108,7 +108,7 @@ StatefulImage::load_states (const XMLNode& node)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((s.image = find_image (prop->value())) == 0) {
|
if (!(s.image = find_image (prop->value()))) {
|
||||||
error << string_compose (_("image %1 not found for state"), prop->value()) << endmsg;
|
error << string_compose (_("image %1 not found for state"), prop->value()) << endmsg;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user