summaryrefslogtreecommitdiff
path: root/src/fs/files.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-05 21:25:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-05 21:25:40 +0300
commit242f29152668ed2fc5df4dee3b3a81f34d6a97ce (patch)
tree7e2964ae94837a1692823350db1abf4f9d4ab464 /src/fs/files.cpp
parent4c37700df953b84f1d6533e7be5a798869b64a57 (diff)
downloadmv-242f29152668ed2fc5df4dee3b3a81f34d6a97ce.tar.gz
mv-242f29152668ed2fc5df4dee3b3a81f34d6a97ce.tar.bz2
mv-242f29152668ed2fc5df4dee3b3a81f34d6a97ce.tar.xz
mv-242f29152668ed2fc5df4dee3b3a81f34d6a97ce.zip
Fix type in files.cpp
Diffstat (limited to 'src/fs/files.cpp')
-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());