diff --git a/libs/ardour/phase_control.cc b/libs/ardour/phase_control.cc index caa82af82c..e52e1eb8eb 100644 --- a/libs/ardour/phase_control.cc +++ b/libs/ardour/phase_control.cc @@ -86,8 +86,9 @@ PhaseControl::set_state (XMLNode const & node, int version) std::string str; if (node.get_property (X_("phase-invert"), str)) { - if(str.length() != 0) + if(str.length() != 0) { set_phase_invert (boost::dynamic_bitset<> (str)); + } } return 0;