summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/AddToStartMenu/src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/AddToStartMenu/src/main.cpp b/plugins/AddToStartMenu/src/main.cpp
index a906b7e831..5c4da0766c 100644
--- a/plugins/AddToStartMenu/src/main.cpp
+++ b/plugins/AddToStartMenu/src/main.cpp
@@ -29,7 +29,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD, LPVOID)
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
- return &pluginInfo;
+ if (IsWinVer7Plus())
+ return &pluginInfo;
+ return NULL;
}
extern "C" int __declspec(dllexport) Load(void)