From 69825c7df6ceec4f038f9fa8894d297244921b4e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Apr 2019 14:54:52 +0300 Subject: compilation fix --- plugins/PluginUpdater/src/DlgListNew.cpp | 2 +- plugins/PluginUpdater/src/stdafx.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/PluginUpdater/src') 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 #include #include -#include // Miranda header files #include -- cgit v1.2.3