From 9e4a6521a9ea3310437962d6708cf814fafc70d1 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Thu, 19 Nov 2009 17:57:32 +0100 Subject: Don't prevent copying files when src == dest across different engines This is really weird test, probably leftover from non-VFS era. The whole copy operation needs rewrite, just another reason. --- UCore.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'UCore.pas') diff --git a/UCore.pas b/UCore.pas index 89af1a2..b812ca0 100644 --- a/UCore.pas +++ b/UCore.pas @@ -1357,7 +1357,8 @@ begin ErrorHappened := True; Break; end; - if s <> string(PDataItemSL(List[i])^.FName) then +// * FIXME: why the hell we had something like this here?? +// if s <> string(PDataItemSL(List[i])^.FName) then if not HandleCopy(List[i], s) then begin ErrorHappened := True; Break; -- cgit v1.2.3