summaryrefslogtreecommitdiff
path: root/libs/ardour/io_processor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-02 20:53:31 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-02 20:53:31 +0000
commite488378d42777b436c6a2708d9dff2def51a5271 (patch)
treecbbd17c9a23b947bbbbb4e815e86654e8e993073 /libs/ardour/io_processor.cc
parent342cdda32e03be82bb071afd15c26989f54bffb2 (diff)
string_is_affirmative() fix for 3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@5723 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/io_processor.cc')
-rw-r--r--libs/ardour/io_processor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/io_processor.cc b/libs/ardour/io_processor.cc
index 505d33a1b0..1408cdcafb 100644
--- a/libs/ardour/io_processor.cc
+++ b/libs/ardour/io_processor.cc
@@ -155,11 +155,11 @@ IOProcessor::set_state (const XMLNode& node)
Processor::set_state(node);
if ((prop = node.property ("own-input")) != 0) {
- _own_input = (prop->value() == "yes");
+ _own_input = string_is_affirmative (prop->value());
}
if ((prop = node.property ("own-output")) != 0) {
- _own_output = (prop->value() == "yes");
+ _own_output = string_is_affirmative (prop->value());
}
/* don't attempt to set state for a proxied IO that we don't own */