Revision: 11408
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=11408&view=rev
Author:   hofman
Date:     2007-10-29 12:16:12 -0700 (Mon, 29 Oct 2007)

Log Message:
-----------
Don't append empty last name.

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

Modified: trunk/bibdesk/BibAuthor.m
===================================================================
--- trunk/bibdesk/BibAuthor.m   2007-10-29 18:09:01 UTC (rev 11407)
+++ trunk/bibdesk/BibAuthor.m   2007-10-29 19:16:12 UTC (rev 11408)
@@ -775,7 +775,9 @@
         CFStringAppend(abbrevName, CFSTR(" "));
     }
     
-    CFStringAppend(abbrevName, (CFStringRef)lastName);
+    if (flags.hasLast){
+        CFStringAppend(abbrevName, (CFStringRef)lastName);
+    }
     
     if(flags.hasFirst){
         CFStringAppend(abbrevName, CFSTR(" "));


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to