Revision: 13109
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=13109&view=rev
Author:   hofman
Date:     2008-04-01 07:51:06 -0700 (Tue, 01 Apr 2008)

Log Message:
-----------
Fix opening of templates for template editor. Simple condition tags can have up 
to 3 sub templates for a non-empty condition (prefix + value + suffix).

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

Modified: trunk/bibdesk/BDSKTemplateDocument.m
===================================================================
--- trunk/bibdesk/BDSKTemplateDocument.m        2008-04-01 14:35:32 UTC (rev 
13108)
+++ trunk/bibdesk/BDSKTemplateDocument.m        2008-04-01 14:51:06 UTC (rev 
13109)
@@ -1378,7 +1378,7 @@
                 }
             } else return nil;
         } else return nil;
-    } else if ([emptyTemplate count] == 0 && [nonemptyTemplate count] < 3) {
+    } else if ([emptyTemplate count] == 0 && [nonemptyTemplate count] < 4) {
         int i = 0;
         BDSKTag *subtag = [nonemptyTemplate objectAtIndex:i];
         NSString *prefix = nil, *suffix = nil;


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