From 242f29152668ed2fc5df4dee3b3a81f34d6a97ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 May 2017 21:25:40 +0300 Subject: Fix type in files.cpp --- src/fs/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs') diff --git a/src/fs/files.cpp b/src/fs/files.cpp index e31d331a4..a6b8d0d4d 100644 --- a/src/fs/files.cpp +++ b/src/fs/files.cpp @@ -275,7 +275,7 @@ void Files::saveTextFile(const std::string &path, void Files::deleteFilesInDirectory(std::string path) { - path == pathJoin(path, dirSeparator); + path = pathJoin(path, dirSeparator); const struct dirent *next_file = nullptr; DIR *const dir = opendir(path.c_str()); -- cgit v1.2.3-60-g2f50