Core: DeleteFolderDeep now deletes symlinks (thanks mdelfede)

git-svn-id: svn://ultimatepp.org/upp/trunk@10893 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-03-02 14:54:44 +00:00
parent 1971cc9eff
commit 565e353eab

View file

@ -883,7 +883,7 @@ bool DeleteFolderDeep(const char *dir)
while(ff) {
String name = ff.GetName();
String p = AppendFileName(dir, name);
if(ff.IsFile())
if(ff.IsFile() || ff.IsSymLink())
FileDelete(p);
else
if(ff.IsFolder())