summaryrefslogtreecommitdiffstats
path: root/src/libs/module
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-08 01:17:49 +0000
committerDavid Robillard <d@drobilla.net>2007-09-08 01:17:49 +0000
commit360cff412ea44e86c8481e781c19d401724f4abb (patch)
tree5a1f3fd846577715d63a031f1bed03fbc767b5e6 /src/libs/module
parenta8c5598add06e2a413d06dbccb61708d164959b5 (diff)
downloadingen-360cff412ea44e86c8481e781c19d401724f4abb.tar.gz
ingen-360cff412ea44e86c8481e781c19d401724f4abb.tar.bz2
ingen-360cff412ea44e86c8481e781c19d401724f4abb.zip
Serialisation of patch enabled status.
git-svn-id: http://svn.drobilla.net/lad/ingen@700 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/module')
-rw-r--r--src/libs/module/module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/module/module.cpp b/src/libs/module/module.cpp
index 2914907a..f19f9e46 100644
--- a/src/libs/module/module.cpp
+++ b/src/libs/module/module.cpp
@@ -36,7 +36,7 @@ get_world()
{
static World* world = NULL;
- if (!&world) {
+ if (&world == NULL) {
cerr << "ERROR: Ingen::Shared::world undefined." << endl;
return NULL;
}
@@ -58,7 +58,7 @@ get_world()
void
destroy_world()
{
- if (!&world) {
+ if (&world == NULL) {
cerr << "ERROR: Ingen::Shared::world undefined." << endl;
return;
}