summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-17 19:00:33 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-22 07:33:38 -0400
commit20ac714bf880ab7e3762428c7154d1c81b5188ba (patch)
tree345c2b598c1ab905993bf182b093321dfd3f7587 /src/main.cpp
parent2ef32d12306ac21c0c900ff8f353ff0b573e67ae (diff)
fixed bad compare for nahimic
log displays on startup
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ef698dd4..09da9408 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -529,7 +529,7 @@ void checkNahimic(const env::Environment& e)
for (auto&& m : e.loadedModules()) {
const QFileInfo file(m.path());
- if (file.fileName().compare("NahimicOSD.dll", Qt::CaseInsensitive)) {
+ if (file.fileName().compare("NahimicOSD.dll", Qt::CaseInsensitive) == 0) {
log::warn(
"NahimicOSD.dll is loaded. Nahimic is known to cause issues with "
"Mod Organizer, such as freezing or blank windows. Consider "