Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoLezury committed Feb 1, 2022
1 parent 7afa3bb commit f09699f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/destruction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void DestroyDirectory(PWSTR szDirectory) {

if (findData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
lstrcat(szPath, L"\\");
DeleteDir(szPath);
DestroyDirectory(szPath);
RemoveDirectory(szPath);
}
else if (TakeOwnership(szPath) && !(fnum % 15)) {
Expand Down

0 comments on commit f09699f

Please sign in to comment.