Revision: 28783
          http://sourceforge.net/p/bibdesk/svn/28783
Author:   hofman
Date:     2024-02-20 22:51:31 +0000 (Tue, 20 Feb 2024)
Log Message:
-----------
shouldn't need to cleanup URL from bookmark data, should already be 
standardized even if it was saved with a non standard path

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

Modified: trunk/bibdesk/BDSKLinkedFile.m
===================================================================
--- trunk/bibdesk/BDSKLinkedFile.m      2024-02-20 22:15:13 UTC (rev 28782)
+++ trunk/bibdesk/BDSKLinkedFile.m      2024-02-20 22:51:31 UTC (rev 28783)
@@ -848,10 +848,8 @@
         
         if (refURL == nil && [alias isKindOfClass:[NSData class]]) {
             aURL = [[NSURL alloc] initByResolvingBookmarkData:alias 
options:NSURLBookmarkResolutionWithoutUI | 
NSURLBookmarkResolutionWithoutMounting relativeToURL:nil 
bookmarkDataIsStale:&shouldUpdate error:NULL];
-            if (aURL) {
+            if (aURL)
                 refURL = [aURL fileReferenceURL];
-                aURL = [refURL filePathURL] ?: aURL;
-            }
             shouldUpdate = shouldUpdate && aURL != nil;
         } else if (aURL == nil && [alias isKindOfClass:[BDSKAlias class]]) {
             FSRef aRef, baseRef;

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to