From 0eab14cd223760b02fad3bd4474e572c2801c453 Mon Sep 17 00:00:00 2001 From: Ryan Leavengood Date: Sun, 4 Oct 2009 20:52:04 +0000 Subject: [PATCH] Apply patch from Caitlin Shaw, aka rogueeve, to fix Tracker's replace behavior for the case of 1 file. Fixes #4717. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33427 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/FSUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/tracker/FSUtils.cpp b/src/kits/tracker/FSUtils.cpp index 01386b3afa..22371e2018 100644 --- a/src/kits/tracker/FSUtils.cpp +++ b/src/kits/tracker/FSUtils.cpp @@ -1731,7 +1731,7 @@ PreFlightNameCheck(BObjectList *srcList, const BDirectory *destDir, // prompt user only if there is more than one collision, otherwise the // single collision case will be handled as a "Prompt" case by CheckName - if (*collisionCount > 0) { + if (*collisionCount > 1) { const char *verb = (moveMode == kMoveSelectionTo) ? "moving" : "copying"; char replaceMsg[256]; sprintf(replaceMsg, kReplaceManyStr, verb, verb);