summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/Controller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gtk/Controller.cpp')
-rw-r--r--src/progs/gtk/Controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/progs/gtk/Controller.cpp b/src/progs/gtk/Controller.cpp
index 05ebe84a..9a85914b 100644
--- a/src/progs/gtk/Controller.cpp
+++ b/src/progs/gtk/Controller.cpp
@@ -91,7 +91,7 @@ Controller::create_patch_from_model(const PatchModel* pm)
//int id = get_next_request_id();
//set_wait_response_id(id);
create_patch_from_model(pm);
- if (pm->parent() != NULL) {
+ if (pm->parent()) {
// wait_for_response();
char temp_buf[16];
snprintf(temp_buf, 16, "%f", pm->x());