summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/dll_sniffer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/dll_sniffer.cpp b/src/mir_app/src/dll_sniffer.cpp
index 0aaf974421..8cffcbf98a 100644
--- a/src/mir_app/src/dll_sniffer.cpp
+++ b/src/mir_app/src/dll_sniffer.cpp
@@ -188,9 +188,9 @@ MUUID* GetPluginInterfaces(const wchar_t* ptszFileName, bool& bIsPlugin)
VS_FIXEDFILEINFO *vsffi;
VerQueryValue(&pSecStart[dwVersion], L"\\", (PVOID*)&vsffi, &blockSize);
- UINT v[4] = { MIRANDA_VERSION_FILEVERSION };
- if (MAKELONG(v[1], v[0]) == vsffi->dwProductVersionMS && MAKELONG(v[3], v[2]) == vsffi->dwProductVersionLS)
- nChecks++;
+ // UINT v[4] = { MIRANDA_VERSION_FILEVERSION };
+ // if (MAKELONG(v[1], v[0]) == vsffi->dwProductVersionMS && MAKELONG(v[3], v[2]) == vsffi->dwProductVersionLS)
+ // nChecks++;
}
}
}
@@ -204,6 +204,6 @@ MUUID* GetPluginInterfaces(const wchar_t* ptszFileName, bool& bIsPlugin)
CloseHandle(hFile);
};
- bIsPlugin = nChecks == 2;
+ bIsPlugin = nChecks != 0;
return pResult;
}