Revision: 21922 http://sourceforge.net/p/bibdesk/svn/21922 Author: hofman Date: 2018-02-13 18:02:18 +0000 (Tue, 13 Feb 2018) Log Message: ----------- append string instead of format
Modified Paths: -------------- trunk/bibdesk/BDSKJSTORWebParser.m Modified: trunk/bibdesk/BDSKJSTORWebParser.m =================================================================== --- trunk/bibdesk/BDSKJSTORWebParser.m 2018-02-13 17:45:37 UTC (rev 21921) +++ trunk/bibdesk/BDSKJSTORWebParser.m 2018-02-13 18:02:18 UTC (rev 21922) @@ -76,7 +76,7 @@ jstorNumber = [jstorMatch groupAtIndex:1]; // download BibTeX data - NSString *bibtexURLString = [NSString stringWithFormat:@"https://www.jstor.org/citation/text/%@", jstorNumber]; + NSString *bibtexURLString = [@"https://www.jstor.org/citation/text/" stringByAppendingString:jstorNumber]; NSURL *bibtexURL = [NSURL URLWithString:bibtexURLString]; NSString *bibtexData = [NSString stringWithContentsOfURL:bibtexURL usedEncoding:&encoding error:&error]; if (bibtexData == nil) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit