Revision: 28316
          http://sourceforge.net/p/bibdesk/svn/28316
Author:   hofman
Date:     2023-07-15 09:05:29 +0000 (Sat, 15 Jul 2023)
Log Message:
-----------
check variable first

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2023-07-14 16:27:53 UTC (rev 28315)
+++ trunk/bibdesk/BibItem.m     2023-07-15 09:05:29 UTC (rev 28316)
@@ -1918,7 +1918,7 @@
             value = [pubFields objectForKey:field];
             
             // only use the normalized author name if it's not complex
-            if([personFields containsObject:field] && shouldNormalizeAuthors 
&& NO == [value isComplex])
+            if(shouldNormalizeAuthors && [personFields containsObject:field] 
&& NO == [value isComplex])
                 value = [self bibTeXNameStringForField:field normalized:YES 
inherit:NO];
             
             // TeXifying URLs leads to serious problems

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