FileLister: minor update, append char instead of string

This commit is contained in:
Daniel Marjamäki 2015-12-13 15:16:00 +01:00
parent 0d97fddc1d
commit 2ad159a45a
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ static void addFiles2(std::map<std::string, std::size_t> &files,
(std::strcmp(dir_result->d_name, "..") == 0))
continue;
new_path = path + "/" + dir_result->d_name;
new_path = path + '/' + dir_result->d_name;
if (dir_result->d_type == DT_DIR) {
if (recursive && !ignored.Match(new_path)) {