summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/files.cpp2
1 files changed, 1 insertions, 1 deletions
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());