diff --git a/plugins/diopser/src/editor.rs b/plugins/diopser/src/editor.rs index 7c4a0283..a8d903e7 100644 --- a/plugins/diopser/src/editor.rs +++ b/plugins/diopser/src/editor.rs @@ -101,7 +101,7 @@ fn top_bar(cx: &mut Context) { // Try to open the Diopser plugin's page when clicking on the title. If this // fails then that's not a problem let result = open::that(Diopser::URL); - if cfg!(debug) && result.is_err() { + if cfg!(debug_assertions) && result.is_err() { nih_debug_assert_failure!("Failed to open web browser: {:?}", result); } } diff --git a/plugins/spectral_compressor/src/editor.rs b/plugins/spectral_compressor/src/editor.rs index 1b20be02..b66cf33d 100644 --- a/plugins/spectral_compressor/src/editor.rs +++ b/plugins/spectral_compressor/src/editor.rs @@ -126,7 +126,7 @@ fn main_column(cx: &mut Context) { // Try to open the plugin's page when clicking on the title. If this // fails then that's not a problem let result = open::that(SpectralCompressor::URL); - if cfg!(debug) && result.is_err() { + if cfg!(debug_assertions) && result.is_err() { nih_debug_assert_failure!( "Failed to open web browser: {:?}", result