mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 15:19:19 +02:00
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:
parent
6f59df453d
commit
adb4858156
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user