From d66fa2b4bd6edc2a0cca1c348a457b2830b03d90 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 28 Aug 2015 14:44:39 +0000 Subject: AddToStartMenu: windows version check git-svn-id: http://svn.miranda-ng.org/main/trunk@15060 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AddToStartMenu/src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins') 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) -- cgit v1.2.3