summaryrefslogtreecommitdiff
path: root/CyteKit/stringWith.mm
diff options
context:
space:
mode:
Diffstat (limited to 'CyteKit/stringWith.mm')
-rw-r--r--CyteKit/stringWith.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/CyteKit/stringWith.mm b/CyteKit/stringWith.mm
index da647df..bba6108 100644
--- a/CyteKit/stringWith.mm
+++ b/CyteKit/stringWith.mm
@@ -36,7 +36,7 @@
+ (NSString *) stringWithFormat:(NSString *)format :(size_t)count :(id *)args {
switch (count) {
case 0:
- return [[[NSString alloc] initWithFormat:format] autorelease];;
+ return [[[NSString alloc] initWithString:format] autorelease];;
case 1:
return [[[NSString alloc] initWithFormat:format, args[0]] autorelease];;
case 2: