summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/LoadPluginWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gtk/LoadPluginWindow.cpp')
-rw-r--r--src/progs/gtk/LoadPluginWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/gtk/LoadPluginWindow.cpp b/src/progs/gtk/LoadPluginWindow.cpp
index bd11320a..a1eba51c 100644
--- a/src/progs/gtk/LoadPluginWindow.cpp
+++ b/src/progs/gtk/LoadPluginWindow.cpp
@@ -251,7 +251,7 @@ LoadPluginWindow::generate_module_name(int offset)
name += "_";
name += num_buf;
}
- if (m_patch_controller->patch_model()->get_node(name) == NULL)
+ if (!m_patch_controller->patch_model()->get_node(name))
break;
else
name = "";