diff options
Diffstat (limited to '')
-rw-r--r-- | src/util/StringUtil.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/StringUtil.cxx b/src/util/StringUtil.cxx index 26aa7825e..048f009f5 100644 --- a/src/util/StringUtil.cxx +++ b/src/util/StringUtil.cxx @@ -18,6 +18,7 @@ */ #include "StringUtil.hxx" +#include "CharUtil.hxx" #include <glib.h> @@ -26,7 +27,7 @@ const char * strchug_fast(const char *p) { - while (*p != 0 && g_ascii_isspace(*p)) + while (IsWhitespaceNotNull(*p)) ++p; return p; |