summaryrefslogtreecommitdiff
path: root/zen/recycler.cpp
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-06-19 16:18:18 -0400
committerB Stack <bgstack15@gmail.com>2020-06-19 16:18:18 -0400
commitb2801fb887fe40875b3ec90619b011b45c1d2796 (patch)
treefbbe856cbc0ba5a5d3a831f3ec514563cc69ecb1 /zen/recycler.cpp
parentMerge branch '10.24' into 'master' (diff)
downloadFreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.tar.gz
FreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.tar.bz2
FreeFileSync-b2801fb887fe40875b3ec90619b011b45c1d2796.zip
add upstream 10.25
Diffstat (limited to 'zen/recycler.cpp')
-rw-r--r--zen/recycler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/recycler.cpp b/zen/recycler.cpp
index 4d6ea1fd..28b2d6c1 100644
--- a/zen/recycler.cpp
+++ b/zen/recycler.cpp
@@ -34,7 +34,7 @@ bool zen::recycleOrDeleteIfExists(const Zstring& itemPath) //throw FileError
//implement same behavior as in Windows: if recycler is not existing, delete permanently
if (error && error->code == G_IO_ERROR_NOT_SUPPORTED)
{
- if (*type == ItemType::FOLDER)
+ if (*type == ItemType::folder)
removeDirectoryPlainRecursion(itemPath); //throw FileError
else
removeFilePlain(itemPath); //throw FileError
bgstack15