From d97e5ccd30f8b40990fa14bf581eca97e272a1de Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 18 Nov 2022 17:43:34 +0100 Subject: [PATCH] Actually use the correct formatter --- plugins/diopser/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/diopser/src/lib.rs b/plugins/diopser/src/lib.rs index c15e3032..276e09da 100644 --- a/plugins/diopser/src/lib.rs +++ b/plugins/diopser/src/lib.rs @@ -189,8 +189,8 @@ impl DiopserParams { if value { 1.0 } else { 0.0 }, ); })) - .with_value_to_string(formatters::s2v_bool_bypass()) - .with_string_to_value(formatters::v2s_bool_bypass()) + .with_value_to_string(formatters::v2s_bool_bypass()) + .with_string_to_value(formatters::s2v_bool_bypass()) .make_bypass(), filter_stages: IntParam::new(