summaryrefslogtreecommitdiff
path: root/protocols
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 /protocols
parent3a85dd706f5a03164f402f7d350f03bba5e6f764 (diff)
obsolete calls of GetVersion() removed & replaced with IsWinVer*Plus() calls
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQCorp/src/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQCorp/src/protocol.cpp b/protocols/ICQCorp/src/protocol.cpp
index 3200b41b25..c43c3b6fad 100644
--- a/protocols/ICQCorp/src/protocol.cpp
+++ b/protocols/ICQCorp/src/protocol.cpp
@@ -164,7 +164,7 @@ bool ICQ::load()
if (!RegisterClassA(&wc))
return false;
- hWnd = CreateWindowExA(0, protoName, nullptr, 0, 0, 0, 0, 0, (unsigned short)GetVersion() >= 5 ? HWND_MESSAGE : nullptr, nullptr, g_plugin.getInst(), nullptr);
+ hWnd = CreateWindowExA(0, protoName, nullptr, 0, 0, 0, 0, 0, HWND_MESSAGE, nullptr, g_plugin.getInst(), nullptr);
if (hWnd == nullptr)
return false;