diff options
Diffstat (limited to '')
-rw-r--r-- | src/util/StringUtil.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/StringUtil.cxx b/src/util/StringUtil.cxx index e68c98444..49a311a5f 100644 --- a/src/util/StringUtil.cxx +++ b/src/util/StringUtil.cxx @@ -38,7 +38,7 @@ StripLeft(const char *p) size_t StripRight(const char *p, size_t length) { - while (length > 0 && IsWhitespaceNotNull(p[length - 1])) + while (length > 0 && IsWhitespaceOrNull(p[length - 1])) --length; return length; |