Changeset 517

Show
Ignore:
Timestamp:
03/31/08 17:59:39 (9 months ago)
Author:
pmerrill
Message:
  • removed debugging code.
  • adjusted cropped path for possible use with file paths.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SapphireFrappliance/NSString-Extensions.m

    r515 r517  
    4747        if(dirLength>requestedLength) 
    4848        { 
    49                 NSLog(@"Directory %@ is %d - req %d",directoryPath, dirLength,requestedLength); 
    5049                NSRange croppedRange; 
    5150                croppedRange.location=dirLength-requestedLength; 
    5251                croppedRange.length=requestedLength; 
    53                 returnPath=[NSString stringWithFormat:@" ../%@/",[NSString pathWithComponents:[[directoryPath pathComponents] subarrayWithRange:croppedRange]]]; 
     52                returnPath=[NSString stringWithFormat:@" .../%@",[NSString pathWithComponents:[[directoryPath pathComponents] subarrayWithRange:croppedRange]]]; 
    5453        } 
    5554        return returnPath;