Revision: 29395
          http://sourceforge.net/p/bibdesk/svn/29395
Author:   hofman
Date:     2025-07-29 14:26:29 +0000 (Tue, 29 Jul 2025)
Log Message:
-----------
add items for crossref

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

Modified: trunk/bibdesk/BDSKPublicationsArray.m
===================================================================
--- trunk/bibdesk/BDSKPublicationsArray.m       2025-07-29 09:00:59 UTC (rev 
29394)
+++ trunk/bibdesk/BDSKPublicationsArray.m       2025-07-29 14:26:29 UTC (rev 
29395)
@@ -119,14 +119,10 @@
         itemsForCiteKeys = [[NSMapTable alloc] 
initWithKeyPointerFunctions:[citeKeyMapTable keyPointerFunctions] 
valuePointerFunctions:[citeKeyMapTable 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];
-            [itemsForCiteKeys setObject:value forKey:key];
-        }
-        for (NSString *key in crossrefMapTable) {
-            NSMutableArray *value = [[crossrefMapTable objectForKey:key] 
mutableCopy];
-            [itemsForCiteKeys setObject:value forKey:key];
-        }
+        for (NSString *key in citeKeyMapTable)
+            [itemsForCiteKeys setObject:[[citeKeyMapTable objectForKey:key] 
mutableCopy] forKey:key];
+        for (NSString *key in crossrefMapTable)
+            [itemsForCrossrefs setObject:[[crossrefMapTable objectForKey:key] 
mutableCopy] forKey:key];
     }
     return self;
 }

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