From 360cff412ea44e86c8481e781c19d401724f4abb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 8 Sep 2007 01:17:49 +0000 Subject: Serialisation of patch enabled status. git-svn-id: http://svn.drobilla.net/lad/ingen@700 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/module/module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/module/module.cpp') 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; } -- cgit v1.2.1