Revision: 27612
          http://sourceforge.net/p/bibdesk/svn/27612
Author:   hofman
Date:     2022-06-12 08:36:17 +0000 (Sun, 12 Jun 2022)
Log Message:
-----------
don't bother comparing URLs of different type

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2022-06-12 08:33:04 UTC (rev 27611)
+++ trunk/bibdesk/BibItem.m     2022-06-12 08:36:17 UTC (rev 27612)
@@ -3060,8 +3060,8 @@
         NSArray *currentURLs = [self 
valueForKeyPath:@"files.URL.absoluteString.lowercaseString"];
         NSString *urlString = [[urlValue absoluteString] lowercaseString];
         BOOL converted = NO;
-        for (BDSKLinkedFile *file in [self files]) {
-            if ([[[[file URL] absoluteString] lowercaseString] 
isEqualToString:urlString]) {
+        for (BDSKLinkedFile *file in self->files) {
+            if ([urlValue isFileURL] == [file isFile] && [[[[file URL] 
absoluteString] lowercaseString] isEqualToString:urlString]) {
                 converted = YES;
                 break;
             }

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