Revision: 29327
          http://sourceforge.net/p/bibdesk/svn/29327
Author:   hofman
Date:     2025-07-22 15:24:57 +0000 (Tue, 22 Jul 2025)
Log Message:
-----------
don't bother registering items for crossref in external groups

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

Modified: trunk/bibdesk/BDSKPublicationsArray.m
===================================================================
--- trunk/bibdesk/BDSKPublicationsArray.m       2025-07-22 15:02:50 UTC (rev 
29326)
+++ trunk/bibdesk/BDSKPublicationsArray.m       2025-07-22 15:24:57 UTC (rev 
29327)
@@ -117,7 +117,7 @@
         publications = [[NSMutableArray alloc] initWithArray:anArray];
         itemsForIdentifierURLs = nil;
         itemsForCiteKeys = [[NSMapTable alloc] 
initWithKeyPointerFunctions:[citeKeyMapTable keyPointerFunctions] 
valuePointerFunctions:[citeKeyMapTable valuePointerFunctions] capacity:0];
-        itemsForCrossrefs = [[NSMapTable alloc] 
initWithKeyPointerFunctions:[crossrefMapTable keyPointerFunctions] 
valuePointerFunctions:[crossrefMapTable valuePointerFunctions] capacity:0];
+        itemsForCrossrefs = crossrefMapTable ? [[NSMapTable alloc] 
initWithKeyPointerFunctions:[crossrefMapTable keyPointerFunctions] 
valuePointerFunctions:[crossrefMapTable valuePointerFunctions] capacity:0] : 
nil;
         searchIndexes = nil;
         for (NSString *key in citeKeyMapTable) {
             NSMutableArray *value = [[citeKeyMapTable objectForKey:key] 
mutableCopy];

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to