From: Robin Gareus Date: Tue, 25 Apr 2017 15:22:39 +0000 (+0200) Subject: Fix conversion in 41b997a90 (monitor cut, invert) X-Git-Tag: 5.9~154 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=54e374f27253c4a714fd4a640f9def1f2aa21d79;p=ardour.git Fix conversion in 41b997a90 (monitor cut, invert) --- diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc index 3047b7ec25..8160b7d1c7 100644 --- a/libs/ardour/monitor_processor.cc +++ b/libs/ardour/monitor_processor.cc @@ -247,8 +247,8 @@ MonitorProcessor::state (bool full) chn_node->set_property ("id", chn); // implicitly cast these to bool - chn_node->set_property (X_("cut"), (*x)->cut == GAIN_COEFF_UNITY); - chn_node->set_property (X_("invert"), (*x)->polarity == GAIN_COEFF_UNITY); + chn_node->set_property (X_("cut"), (*x)->cut != GAIN_COEFF_UNITY); + chn_node->set_property (X_("invert"), (*x)->polarity != GAIN_COEFF_UNITY); chn_node->set_property (X_("dim"), (*x)->dim == true); chn_node->set_property (X_("solo"), (*x)->soloed == true);