summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2009-11-19 17:57:32 +0100
committerTomas Bzatek <tbzatek@redhat.com>2009-11-19 17:57:32 +0100
commit9e4a6521a9ea3310437962d6708cf814fafc70d1 (patch)
tree366d2917b664be9c859c58f4c8e2249650f79f9e
parentec2f73f0f66ce7ea31afdce6cacfe2225e765323 (diff)
downloadtuxcmd-9e4a6521a9ea3310437962d6708cf814fafc70d1.tar.xz
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.
-rw-r--r--UCore.pas3
1 files changed, 2 insertions, 1 deletions
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;