Revision: 12371
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12371&view=rev
Author:   amaxwell
Date:     2008-01-08 10:22:13 -0800 (Tue, 08 Jan 2008)

Log Message:
-----------
Always use the resolved alias.

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon.m  2008-01-08 18:21:06 UTC 
(rev 12370)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVIcon.m  2008-01-08 18:22:13 UTC 
(rev 12371)
@@ -133,8 +133,8 @@
         Boolean isFolder, wasAliased;
         err = FSResolveAliasFileWithMountFlags(&fileRef, TRUE, &isFolder, 
&wasAliased, kARMNoUI);
         
-        // wasAliased is false for symlinks, but we can open those without 
resolving them
-        if (noErr == err && wasAliased)
+        // wasAliased is false for symlinks, but use the resolved alias anyway
+        if (noErr == err)
             *aURL = [(id)CFURLCreateFromFSRef(NULL, &fileRef) autorelease];
     }
     


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to