summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-07 01:24:03 +0000
committerDavid Robillard <d@drobilla.net>2007-04-07 01:24:03 +0000
commit15b9b7a54e49f75c5933cf3b6388296d0b43a9d0 (patch)
tree848c9eb64921166d53b6d76483ec31568fe4c5e3 /src
parentdec8f83f342ed76611d7dff156ab29b8df554a00 (diff)
downloadpatchage-15b9b7a54e49f75c5933cf3b6388296d0b43a9d0.tar.gz
patchage-15b9b7a54e49f75c5933cf3b6388296d0b43a9d0.tar.bz2
patchage-15b9b7a54e49f75c5933cf3b6388296d0b43a9d0.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/LashDriver.h3
-rw-r--r--src/Patchage.cpp2
2 files changed, 3 insertions, 2 deletions
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<PatchagePort>, boost::shared_ptr<PatchagePort>)
{ 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 <sstream>
#include "Patchage.h"
#include "PatchageEvent.h"
-#include "config.h"
+#include "../config.h"
#include <libgnomecanvasmm.h>
#include <libglademm/xml.h>
#include <fstream>