From 15b9b7a54e49f75c5933cf3b6388296d0b43a9d0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Apr 2007 01:24:03 +0000 Subject: Removed aclocal.m4 from repository. Possible fix for crash bug without LASH. git-svn-id: http://svn.drobilla.net/lad/patchage@410 a436a847-0d15-0410-975c-d299462d15a1 --- src/LashDriver.h | 3 ++- src/Patchage.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/LashDriver.h b/src/LashDriver.h index 67e6dbb..0121509 100644 --- a/src/LashDriver.h +++ b/src/LashDriver.h @@ -33,7 +33,8 @@ public: void attach(bool launch_daemon); void detach(); - bool is_attached() const { return _server_interface->enabled(); } + bool is_attached() const + { return _server_interface && _server_interface->enabled(); } bool connect(boost::shared_ptr, boost::shared_ptr) { return false; } diff --git a/src/Patchage.cpp b/src/Patchage.cpp index cdd21f8..2b5a85a 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -19,7 +19,7 @@ #include #include "Patchage.h" #include "PatchageEvent.h" -#include "config.h" +#include "../config.h" #include #include #include -- cgit v1.2.1