summaryrefslogtreecommitdiff
path: root/plugins/TooltipNotify/src/Utils.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-03-14 16:46:51 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-03-14 16:46:51 +0000
commitd2b26b1f86326362f56540b5185fa09ab5f2779c (patch)
treebee7dda76c531eeb4ffc51a63c5bb280041027a3 /plugins/TooltipNotify/src/Utils.cpp
parent23c27ccc254699611882657dbe6936c3b3ad510f (diff)
TooltipNotify:
- Minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12401 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;