summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/Utils.cpp
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/TooltipNotify/src/Utils.cpp
parent3a85dd706f5a03164f402f7d350f03bba5e6f764 (diff)
obsolete calls of GetVersion() removed & replaced with IsWinVer*Plus() calls
Diffstat (limited to 'plugins/TooltipNotify/src/Utils.cpp')
-rw-r--r--plugins/TooltipNotify/src/Utils.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/plugins/TooltipNotify/src/Utils.cpp b/plugins/TooltipNotify/src/Utils.cpp
index 9338efebbe..229257d6a9 100644
--- a/plugins/TooltipNotify/src/Utils.cpp
+++ b/plugins/TooltipNotify/src/Utils.cpp
@@ -4,13 +4,6 @@
#include "stdafx.h"
-BOOL IsNt50()
-{
- WORD wOsVersion = LOWORD(GetVersion());
- BYTE bMajorVer = LOBYTE(wOsVersion);
- return (bMajorVer>=5);
-}
-
void TruncateWithDots(wchar_t* szString, size_t iNewLen)
{
size_t iOrigLen = mir_wstrlen(szString);