Optimize plugin-processing for non-automated params
[ardour.git] / libs / ardour / ardour / value_as_string.h
index dd5780580bf393bbf5e64928ad474bd1773dd46e..ed257d5cb56767ea1f6fdb84a07e7ab09eaa881b 100644 (file)
@@ -48,7 +48,7 @@ value_as_string(const ARDOUR::ParameterDescriptor& desc,
        }
 
        if (desc.toggled) {
-               return v >= 0 ? _("on") : _("off");
+               return v > 0 ? _("on") : _("off");
        }
 
        // Value is not a scale point, print it normally