Revision: 4927
http://skim-app.svn.sourceforge.net/skim-app/?rev=4927&view=rev
Author: hofman
Date: 2008-11-09 22:18:37 +0000 (Sun, 09 Nov 2008)
Log Message:
-----------
append string rather than use format
Modified Paths:
--------------
trunk/SKPDFDocument.m
Modified: trunk/SKPDFDocument.m
===================================================================
--- trunk/SKPDFDocument.m 2008-11-07 17:38:31 UTC (rev 4926)
+++ trunk/SKPDFDocument.m 2008-11-09 22:18:37 UTC (rev 4927)
@@ -1693,10 +1693,10 @@
- (const char *)keychainServiceName {
NSArray *fileIDStrings = [self fileIDStrings];
if ([fileIDStrings count])
- return [[NSString stringWithFormat:@"Skim - %@", [fileIDStrings
objectAtIndex:0]] UTF8String];
+ return [[@"Skim - " stringByAppendingString:[fileIDStrings
objectAtIndex:0]] UTF8String];
NSString *md5Signature = [[[NSString alloc] initWithData:[pdfData
md5Signature] encoding:NSUTF8StringEncoding] autorelease];
if (md5Signature)
- return [[NSString stringWithFormat:@"Skim - %@", md5Signature]
UTF8String];
+ return [[@"Skim - " stringByAppendingString:md5Signature] UTF8String];
return NULL;
}
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit