From 87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 7 Aug 2014 14:53:07 +0200 Subject: util/StringUtil: rename strchug_fast() to StripLeft() --- src/util/Tokenizer.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util/Tokenizer.cxx') diff --git a/src/util/Tokenizer.cxx b/src/util/Tokenizer.cxx index 306a90074..19322b70d 100644 --- a/src/util/Tokenizer.cxx +++ b/src/util/Tokenizer.cxx @@ -71,7 +71,7 @@ Tokenizer::NextWord(Error &error) /* a whitespace: the word ends here */ *input = 0; /* skip all following spaces, too */ - input = strchug_fast(input + 1); + input = StripLeft(input + 1); break; } @@ -116,7 +116,7 @@ Tokenizer::NextUnquoted(Error &error) /* a whitespace: the word ends here */ *input = 0; /* skip all following spaces, too */ - input = strchug_fast(input + 1); + input = StripLeft(input + 1); break; } @@ -185,7 +185,7 @@ Tokenizer::NextString(Error &error) /* finish the string and return it */ *dest = 0; - input = strchug_fast(input); + input = StripLeft(input); return word; } -- cgit v1.2.3