summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/SubpatchModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gtk/SubpatchModule.cpp')
-rw-r--r--src/progs/gtk/SubpatchModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/gtk/SubpatchModule.cpp b/src/progs/gtk/SubpatchModule.cpp
index 9c0e78e4..8c79aed5 100644
--- a/src/progs/gtk/SubpatchModule.cpp
+++ b/src/progs/gtk/SubpatchModule.cpp
@@ -75,7 +75,7 @@ SubpatchModule::on_double_click(GdkEventButton* event)
void
SubpatchModule::browse_to_patch()
{
- assert(m_patch->model()->parent() != NULL);
+ assert(m_patch->model()->parent());
PatchController* pc = (PatchController*)m_patch->model()->parent()->controller();
assert(pc != NULL);
assert(pc->window() != NULL);