Revision: 27589
          http://sourceforge.net/p/bibdesk/svn/27589
Author:   hofman
Date:     2022-06-09 08:47:25 +0000 (Thu, 09 Jun 2022)
Log Message:
-----------
fix check for local macros

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2022-06-09 06:30:19 UTC (rev 27588)
+++ trunk/bibdesk/BibItem.m     2022-06-09 08:47:25 UTC (rev 27589)
@@ -2684,7 +2684,7 @@
     for (NSString *value in [pubFields objectEnumerator]) {
         if ([value isComplex] == NO) continue;
         for (BDSKStringNode *node in [value nodes]) {
-            if ([node type] != BDSKStringNodeMacro || [node value] == nil) 
continue;
+            if ([node type] != BDSKStringNodeMacro || [[self macroResolver] 
valueOfMacro:[node value]] == nil) continue;
             BDSKMacro *macro = [[BDSKMacro alloc] initWithName:[node value] 
macroResolver:[self macroResolver]];
             [macros addObject:macro];
             [macro release];

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