diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 15:25:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 15:36:47 +0200 |
commit | b39ab76118067fe6e7cb83afb176dcef4c936d3d (patch) | |
tree | 529201bb86cdf2c0f3d142aecbb2ace5209b6b89 /src/cue/CueParser.cxx | |
parent | 90777f78c99774023e694bef5933da88d74f4d45 (diff) | |
download | mpd-b39ab76118067fe6e7cb83afb176dcef4c936d3d.tar.gz mpd-b39ab76118067fe6e7cb83afb176dcef4c936d3d.tar.xz mpd-b39ab76118067fe6e7cb83afb176dcef4c936d3d.zip |
Util/CharUtil: new library replacing g_ascii_isX()
Diffstat (limited to 'src/cue/CueParser.cxx')
-rw-r--r-- | src/cue/CueParser.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cue/CueParser.cxx b/src/cue/CueParser.cxx index 89f450bae..f52f8526f 100644 --- a/src/cue/CueParser.cxx +++ b/src/cue/CueParser.cxx @@ -20,6 +20,7 @@ #include "config.h" #include "CueParser.hxx" #include "util/StringUtil.hxx" +#include "util/CharUtil.hxx" #include "Song.hxx" #include "tag/Tag.hxx" @@ -54,10 +55,10 @@ static const char * cue_next_word(char *p, char **pp) { assert(p >= *pp); - assert(!g_ascii_isspace(*p)); + assert(!IsWhitespaceNotNull(*p)); const char *word = p; - while (*p != 0 && !g_ascii_isspace(*p)) + while (!IsWhitespaceOrNull(*p)) ++p; *p = 0; |