summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorTannin <sherb@gmx.net>2015-11-19 19:09:34 +0100
committerTannin <sherb@gmx.net>2015-11-19 19:09:34 +0100
commit4ff751fb7e592376de5faab44ab7dd6fe70dbdd0 (patch)
tree937948ba4796cfe63612034b6fa41e288a7c49cc /src/profile.cpp
parentd8d81ee06f62c7636ac79d5c162db3e4e39f79a1 (diff)
some fixes/disabled code required since hook.dll is gone
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index b990fbc1..0b9fa06f 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -585,7 +585,9 @@ bool Profile::invalidationActive(bool *supported) const
}
return false;
} else {
- *supported = false;
+ if (supported != nullptr) {
+ *supported = false;
+ }
}
return false;
}