diff options
Diffstat (limited to 'src/progs/gtk/LoadPluginWindow.cpp')
-rw-r--r-- | src/progs/gtk/LoadPluginWindow.cpp | 2 |
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 = ""; |