summaryrefslogtreecommitdiff
path: root/libs/ardour/redirect.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/redirect.cc')
-rw-r--r--libs/ardour/redirect.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/redirect.cc b/libs/ardour/redirect.cc
index 5f99c742ad..6cfd2e97c6 100644
--- a/libs/ardour/redirect.cc
+++ b/libs/ardour/redirect.cc
@@ -278,7 +278,7 @@ Redirect::set_state (const XMLNode& node)
return -1;
}
- if (_active != (prop->value() == "yes")) {
+ if (_active != string_is_affirmative (prop->value())) {
if (!(_session.state_of_the_state() & Session::Loading) ||
!Session::get_disable_all_loaded_plugins()) {
_active = !_active;