diff options
-rw-r--r-- | plugins/PluginUpdater/src/DlgListNew.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index 5de9e7de72..9f7e7cf898 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -160,7 +160,7 @@ INT_PTR CALLBACK DlgList(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) ListView_SetImageList(hwndList, hIml, LVSIL_SMALL);
OSVERSIONINFO osver = { sizeof(osver) };
- if (IsWindows7OrGreater()) {
+ if (IsWinVer7Plus()) {
wchar_t szPath[MAX_PATH];
GetModuleFileNameW(nullptr, szPath, _countof(szPath));
wchar_t *ext = wcsrchr(szPath, '.');
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index dac85f823d..fad5955596 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -26,7 +26,6 @@ Boston, MA 02111-1307, USA. #include <Windowsx.h>
#include <Shlobj.h>
#include <string.h>
-#include <VersionHelpers.h>
// Miranda header files
#include <newpluginapi.h>
|