Revision: 25594 http://sourceforge.net/p/bibdesk/svn/25594 Author: hofman Date: 2021-03-09 15:35:06 +0000 (Tue, 09 Mar 2021) Log Message: ----------- Don't increase index to generate unique character for format evry try
Modified Paths: -------------- trunk/bibdesk/BDSKFormatParser.m Modified: trunk/bibdesk/BDSKFormatParser.m =================================================================== --- trunk/bibdesk/BDSKFormatParser.m 2021-03-09 07:31:30 UTC (rev 25593) +++ trunk/bibdesk/BDSKFormatParser.m 2021-03-09 15:35:06 UTC (rev 25594) @@ -840,7 +840,7 @@ for (c = charRange.location; c < (char)NSMaxRange(charRange); c++) { if (number == 0 && i == 0 && c == '0') continue; chars[i] = c; - NSString *str = uniqueString(chars, count, ++i); + NSString *str = uniqueString(chars, count, i + 1); if (str) return str; } return nil; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit