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/fs/StandardDirectory.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fs') diff --git a/src/fs/StandardDirectory.cxx b/src/fs/StandardDirectory.cxx index c266480f7..c922b22d3 100644 --- a/src/fs/StandardDirectory.cxx +++ b/src/fs/StandardDirectory.cxx @@ -129,7 +129,7 @@ static bool ParseConfigLine(char *line, const char *dir_name, AllocatedPath &result_dir) { // strip leading white space - line = strchug_fast(line); + line = StripLeft(line); // check for end-of-line or comment if (*line == '\0' || *line == '#') @@ -141,11 +141,11 @@ ParseConfigLine(char *line, const char *dir_name, AllocatedPath &result_dir) line += strlen(dir_name); // strip equals sign and spaces around it - line = strchug_fast(line); + line = StripLeft(line); if (*line != '=') return false; ++line; - line = strchug_fast(line); + line = StripLeft(line); // check if path is quoted bool quoted = false; -- cgit v1.2.3