diff options
author | Max Kellermann <max@duempel.org> | 2014-08-07 15:05:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-07 16:08:02 +0200 |
commit | db6db517424e09bab9a12934e9df6807a7049926 (patch) | |
tree | 6525302356ec79acb6bebd179a13b760b8dcb279 /src/input | |
parent | 981be7956b86c4bcf449ff87082f422721a6e8c3 (diff) | |
download | mpd-db6db517424e09bab9a12934e9df6807a7049926.tar.gz mpd-db6db517424e09bab9a12934e9df6807a7049926.tar.xz mpd-db6db517424e09bab9a12934e9df6807a7049926.zip |
util/CharUtil: add IsWhitespaceFast()
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/TextInputStream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/TextInputStream.cxx b/src/input/TextInputStream.cxx index b90eeacc0..36aa5f408 100644 --- a/src/input/TextInputStream.cxx +++ b/src/input/TextInputStream.cxx @@ -72,7 +72,7 @@ TextInputStream::ReadLine() buffer.Consume(p - src + 1); - while (p > src && IsWhitespaceOrNull(p[-1])) + while (p > src && IsWhitespaceFast(p[-1])) --p; *p = 0; return src; |