mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix invalid debug assertions check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user