From 5ad6486f86297a93aca37ee315616127d2591d4f Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 21 Jul 2012 07:03:02 +0000 Subject: QueryKit: Update quoting method. --- Frameworks/QueryKit/Source/QKQueryStringAdditions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks/QueryKit/Source') diff --git a/Frameworks/QueryKit/Source/QKQueryStringAdditions.m b/Frameworks/QueryKit/Source/QKQueryStringAdditions.m index d2167041..ab508c5e 100644 --- a/Frameworks/QueryKit/Source/QKQueryStringAdditions.m +++ b/Frameworks/QueryKit/Source/QKQueryStringAdditions.m @@ -43,7 +43,7 @@ { NSString *escapedVersion = [NSString stringWithFormat:@"%@%@", character, character]; - return [NSString stringWithFormat: @"%@%@%@", character, [self stringByReplacingOccurrencesOfString:character withString:escapedVersion], character]; + return [NSString stringWithFormat: @"%1$@2$%@%1$@", character, [self stringByReplacingOccurrencesOfString:character withString:escapedVersion]]; } @end -- cgit v1.2.3