From 99524eb321120773c39ca357396603eb32cffd2c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 20 Sep 2007 01:25:40 +0000 Subject: Strip a bunch of old useless code. git-svn-id: http://svn.drobilla.net/lad/ingen@735 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/gui/DSSIController.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/libs/gui/DSSIController.cpp') diff --git a/src/libs/gui/DSSIController.cpp b/src/libs/gui/DSSIController.cpp index b5537f82..9bb037ba 100644 --- a/src/libs/gui/DSSIController.cpp +++ b/src/libs/gui/DSSIController.cpp @@ -229,11 +229,11 @@ DSSIController::attempt_to_show_gui() } if ((S_ISREG(buf.st_mode) || S_ISLNK(buf.st_mode)) && - (buf.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) { + (buf.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) { if (verbose) { fprintf(stderr, "%s: trying to execute GUI at \"%s\"\n", - myName, filename); + myName, filename); } if (fork() == 0) { @@ -267,8 +267,9 @@ void DSSIController::show_menu(GdkEventButton* event) { #if 0 - if (_banks_dirty) - update_program_menu(); + if (_banks_dirty) + update_program_menu(); + NodeController::show_menu(event); #endif } -- cgit v1.2.1