From 54e374f27253c4a714fd4a640f9def1f2aa21d79 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 25 Apr 2017 17:22:39 +0200 Subject: Fix conversion in 41b997a90 (monitor cut, invert) --- libs/ardour/monitor_processor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/monitor_processor.cc') 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); -- cgit v1.2.3