summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/ControlInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gtk/ControlInterface.cpp')
-rw-r--r--src/progs/gtk/ControlInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/gtk/ControlInterface.cpp b/src/progs/gtk/ControlInterface.cpp
index eb5eee1b..2b22eee1 100644
--- a/src/progs/gtk/ControlInterface.cpp
+++ b/src/progs/gtk/ControlInterface.cpp
@@ -73,7 +73,7 @@ ControlInterface::new_patch_model(PatchModel* const pm)
pm->plugin(plugin);
}*/
- assert(pm->parent() == NULL);
+ assert(!pm->parent());
PatchController* patch = new PatchController(pm);
//Store::instance().add_object(patch);
//_app->patch_tree()->add_patch(patch);