summaryrefslogtreecommitdiff
path: root/plugins/AddToStartMenu
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 14:44:39 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-28 14:44:39 +0000
commitd66fa2b4bd6edc2a0cca1c348a457b2830b03d90 (patch)
tree30206e88fa1ab46fe85bfdf504172ffca1b02e80 /plugins/AddToStartMenu
parent1df918495c42ed2685b2749b6b129d529d54b51e (diff)
AddToStartMenu: windows version check
git-svn-id: http://svn.miranda-ng.org/main/trunk@15060 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AddToStartMenu')
-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)