summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TooltipNotify/src/Utils.cpp')
-rw-r--r--plugins/TooltipNotify/src/Utils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TooltipNotify/src/Utils.cpp b/plugins/TooltipNotify/src/Utils.cpp
index 7b777b73db..63b981bb78 100644
--- a/plugins/TooltipNotify/src/Utils.cpp
+++ b/plugins/TooltipNotify/src/Utils.cpp
@@ -10,13 +10,11 @@ BOOL IsNt50()
BYTE bMajorVer = LOBYTE(wOsVersion);
BYTE bMinorVer = HIBYTE(wOsVersion);
- return (bMajorVer>=5 && bMinorVer>=0);
+ return (bMajorVer>=5);
}
void TruncateWithDots(TCHAR* szString, size_t iNewLen)
{
- assert(iNewLen >= 0);
-
size_t iOrigLen = _tcslen(szString);
if (iNewLen < iOrigLen) {
TCHAR* p = szString+iNewLen;