diff options
author | Max Kellermann <max@duempel.org> | 2014-08-07 14:53:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-07 16:08:02 +0200 |
commit | 87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802 (patch) | |
tree | 9f2170889dfbfff90816d7d4eea7b19373ba213f /src/playlist/plugins/ExtM3uPlaylistPlugin.cxx | |
parent | db6db517424e09bab9a12934e9df6807a7049926 (diff) | |
download | mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.tar.gz mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.tar.xz mpd-87bcf739ee6a3e8ac5b400b35b61b72b9d8bd802.zip |
util/StringUtil: rename strchug_fast() to StripLeft()
Diffstat (limited to 'src/playlist/plugins/ExtM3uPlaylistPlugin.cxx')
-rw-r--r-- | src/playlist/plugins/ExtM3uPlaylistPlugin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx index 95cc84289..9d277ec3f 100644 --- a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx +++ b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx @@ -82,7 +82,7 @@ extm3u_parse_tag(const char *line) /* 0 means unknown duration */ duration = 0; - name = strchug_fast(endptr + 1); + name = StripLeft(endptr + 1); if (*name == 0 && duration == 0) /* no information available; don't allocate a tag object */ @@ -116,7 +116,7 @@ ExtM3uPlaylist::NextSong() continue; } - line_s = strchug_fast(line_s); + line_s = StripLeft(line_s); } while (line_s[0] == '#' || *line_s == 0); return new DetachedSong(line_s, std::move(tag)); |