Revision: 13111
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=13111&view=rev
Author:   hofman
Date:     2008-04-02 09:33:01 -0700 (Wed, 02 Apr 2008)

Log Message:
-----------
Fix APA style joining of authors. It should contain a comma also for two 
authors.

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

Modified: trunk/bibdesk/BDSKTemplateParser.m
===================================================================
--- trunk/bibdesk/BDSKTemplateParser.m  2008-04-02 05:45:24 UTC (rev 13110)
+++ trunk/bibdesk/BDSKTemplateParser.m  2008-04-02 16:33:01 UTC (rev 13111)
@@ -1096,8 +1096,6 @@
             return @"";
         case 1:
             return [self objectAtIndex:0];
-        case 2:
-            return [NSString stringWithFormat:@"%@ & %@", [self 
objectAtIndex:0], [self objectAtIndex:1]];
         default:
             return [[[[self subarrayWithRange:NSMakeRange(0, count - 1)] 
componentsJoinedByComma] stringByAppendingString:@", & "] 
stringByAppendingString:[self lastObject]];
     }


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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to