summaryrefslogtreecommitdiff
path: root/plugins/MirFox/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-05-27 16:05:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-05-27 16:05:30 +0300
commite3179c1ef509482ff9b4c7d4fb89d0b208e84000 (patch)
tree1977dabbd3ff94309a888e299ea4a938633d00d0 /plugins/MirFox/src
parent3a85dd706f5a03164f402f7d350f03bba5e6f764 (diff)
obsolete calls of GetVersion() removed & replaced with IsWinVer*Plus() calls
Diffstat (limited to 'plugins/MirFox/src')
-rw-r--r--plugins/MirFox/src/MirandaOptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirFox/src/MirandaOptions.cpp b/plugins/MirFox/src/MirandaOptions.cpp
index 5653ad774a..2a72d98300 100644
--- a/plugins/MirFox/src/MirandaOptions.cpp
+++ b/plugins/MirFox/src/MirandaOptions.cpp
@@ -334,7 +334,7 @@ INT_PTR CALLBACK DlgProcOpts_Tab2(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
HIMAGELIST hIml;
int smCx = GetSystemMetrics(SM_CXSMICON);
int smCy = GetSystemMetrics(SM_CYSMICON);
- hIml = ImageList_Create(smCx,smCy,((LOBYTE(LOWORD(GetVersion()))>=5 && LOWORD(GetVersion())!=5) ? ILC_COLOR32 : ILC_COLOR16) | ILC_MASK, 4, 4);
+ hIml = ImageList_Create(smCx, smCy, (IsWinVerVistaPlus() ? ILC_COLOR32 : ILC_COLOR16) | ILC_MASK, 4, 4);
//load icons (direct)
icoHandle_ICON_OFF = LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(IDI_ICON_OFF));