summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
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 "