Revision: 18403
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18403&view=rev
Author:   hofman
Date:     2012-01-14 12:50:50 +0000 (Sat, 14 Jan 2012)
Log Message:
-----------
ignore whether file is a directory

Modified Paths:
--------------
    trunk/bibdesk/BDSKFiler.m

Modified: trunk/bibdesk/BDSKFiler.m
===================================================================
--- trunk/bibdesk/BDSKFiler.m   2012-01-14 07:35:12 UTC (rev 18402)
+++ trunk/bibdesk/BDSKFiler.m   2012-01-14 12:50:50 UTC (rev 18403)
@@ -243,7 +243,6 @@
     NSString *fix = nil;
     NSInteger statusFlag = BDSKNoError;
     BOOL ignoreMove = NO;
-    BOOL isDir;
     
     // filemanager needs aliases resolved for moving and existence checks
     // ...however we want to move aliases, not their targets
@@ -256,7 +255,7 @@
         status = NSLocalizedString(@"Unable to resolve aliases in path.", 
@"AutoFile error message");
         statusFlag = BDSKCannotResolveAliasErrorMask;
     }else if([self fileExistsAtPath:resolvedNewPath]){
-        if([self fileExistsAtPath:resolvedPath isDirectory:&isDir]){
+        if([self fileExistsAtPath:resolvedPath]){
             if(force){
                 NSString *backupPath = [[self desktopDirectory] 
stringByAppendingPathComponent:[resolvedNewPath lastPathComponent]];
                 backupPath = [self uniqueFilePathWithName:[resolvedNewPath 
lastPathComponent] atPath:[self desktopDirectory]];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to