Revision: 4875
http://skim-app.svn.sourceforge.net/skim-app/?rev=4875&view=rev
Author: hofman
Date: 2008-10-27 14:25:28 +0000 (Mon, 27 Oct 2008)
Log Message:
-----------
use cf creator for cf description
Modified Paths:
--------------
trunk/SKCFCallBacks.m
Modified: trunk/SKCFCallBacks.m
===================================================================
--- trunk/SKCFCallBacks.m 2008-10-27 10:25:11 UTC (rev 4874)
+++ trunk/SKCFCallBacks.m 2008-10-27 14:25:28 UTC (rev 4875)
@@ -129,7 +129,7 @@
}
CFStringRef SKNSRangeCopyDescription(const void *value) {
- return (CFStringRef)[[NSString alloc] initWithFormat:@"(%u, %u)",
((NSRange *)value)->location, ((NSRange *)value)->length];
+ return CFStringCreateWithFormat(NULL, NULL, CFSTR("(%u, %u)"), ((NSRange
*)value)->location, ((NSRange *)value)->length);
}
Boolean SKNSRangeEqual(const void *value1, const void *value2) {
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