Ticket #4717: trackerReplace4717.patch

File trackerReplace4717.patch, 635 bytes (added by rogueeve, 15 years ago)
  • boot/dev/haiku/src/kits/tracker/FSUtils.cpp

     
    17311731
    17321732    // prompt user only if there is more than one collision, otherwise the
    17331733    // single collision case will be handled as a "Prompt" case by CheckName
    1734     if (*collisionCount > 0) {
     1734    if (*collisionCount > 1) {
    17351735        const char *verb = (moveMode == kMoveSelectionTo) ? "moving" : "copying";
    17361736        char replaceMsg[256];
    17371737        sprintf(replaceMsg, kReplaceManyStr, verb, verb);