summaryrefslogtreecommitdiffstats
path: root/src/libs/module
diff options
context:
space:
mode:
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;
}