LazUtils: make CopyDirTree() work also with the "wrong" path delimiter ('/' on Windows). Was broken after r45991 #3e8d8b891e.

git-svn-id: trunk@46031 -
This commit is contained in:
juha 2014-08-11 11:53:48 +00:00
parent 6f59df453d
commit adb4858156

View File

@ -692,8 +692,8 @@ begin
Flags:=Flags+[cffCreateDestDirectory];
Searcher.FFlags:=Flags;
Searcher.FCopyFailedCount:=0;
Searcher.FSourceDir:=SourceDir;
Searcher.FTargetDir:=TargetDir;
Searcher.FSourceDir:=SetDirSeparators(SourceDir);
Searcher.FTargetDir:=SetDirSeparators(TargetDir);
Searcher.Search(SourceDir);
Result:=True;
finally