summaryrefslogtreecommitdiff
path: root/CyteKit/stringWith.mm
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-27 15:43:29 -1000
committerSam Bingner <sam@bingner.com>2019-05-27 15:43:29 -1000
commit1d744444486fc66c8f12e2a8f0e81773a65bf545 (patch)
tree7337e2e70e15ff4cecfcbaedb450ce157b699751 /CyteKit/stringWith.mm
parentd84dcba99f5c2657d2df37518feb59312bcc59fc (diff)
Make it actually compile with saurik's updates
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: