projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ded90
)
prefer bool operator
author
Robin Gareus
<robin@gareus.org>
Wed, 30 Nov 2016 11:15:35 +0000
(12:15 +0100)
committer
Robin Gareus
<robin@gareus.org>
Wed, 30 Nov 2016 11:15:35 +0000
(12:15 +0100)
libs/canvas/stateful_image.cc
patch
|
blob
|
history
diff --git
a/libs/canvas/stateful_image.cc
b/libs/canvas/stateful_image.cc
index 5f04d9488c0929d2b6391a1643846676886d238d..fe669dc68dd92de10b4b4c02b6620e6e2209c95e 100644
(file)
--- a/
libs/canvas/stateful_image.cc
+++ b/
libs/canvas/stateful_image.cc
@@
-108,7
+108,7
@@
StatefulImage::load_states (const XMLNode& node)
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;
continue;
}