summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/utils.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-04-07 18:46:09 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-04-07 18:46:09 +0000
commit3b3266f2d7621992cbb48ad72f98afece7cb98d1 (patch)
tree5b45405284424a74d880fcaac2f3a5943cb2b1b4 /plugins/Scriver/src/utils.cpp
parent9191bad28f26140907caac7b598ab9de4a312535 (diff)
Scriver:
- Minor fixes! git-svn-id: http://svn.miranda-ng.org/main/trunk@12659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/utils.cpp')
-rw-r--r--plugins/Scriver/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/utils.cpp b/plugins/Scriver/src/utils.cpp
index ec5c25b5e3..7fc1faa605 100644
--- a/plugins/Scriver/src/utils.cpp
+++ b/plugins/Scriver/src/utils.cpp
@@ -188,7 +188,7 @@ void rtrimText(TCHAR *text)
{
static TCHAR szTrimString[] = _T(":;,.!?\'\"><()[]- \r\n");
size_t iLen = mir_tstrlen(text) - 1;
- while (iLen >= 0 && _tcschr(szTrimString, text[iLen])) {
+ while (_tcschr(szTrimString, text[iLen])) {
text[iLen] = _T('\0');
iLen--;
}