diff options
author | George Hazan <ghazan@miranda.im> | 2019-05-27 16:05:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-05-27 16:05:30 +0300 |
commit | e3179c1ef509482ff9b4c7d4fb89d0b208e84000 (patch) | |
tree | 1977dabbd3ff94309a888e299ea4a938633d00d0 /protocols | |
parent | 3a85dd706f5a03164f402f7d350f03bba5e6f764 (diff) |
obsolete calls of GetVersion() removed & replaced with IsWinVer*Plus() calls
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQCorp/src/protocol.cpp | 2 |
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;
|