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/QueryKit.xcodeproj/project.pbxproj | 2 +- Frameworks/QueryKit/Source/QKQueryStringAdditions.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Frameworks') diff --git a/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj b/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj index 10c9a3c6..a45c5399 100644 --- a/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj +++ b/Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj @@ -261,8 +261,8 @@ 17577FA015A994EB00CDF67A /* Common */, 17322A7414FA646000F0CF9B /* UPDATE Tests */, 17322A7214FA645300F0CF9B /* SELECT Tests */, - 17322A7614FA648100F0CF9B /* INSERT Tests */, 17322A7514FA647200F0CF9B /* DELETE Tests */, + 17322A7614FA648100F0CF9B /* INSERT Tests */, ); path = Tests; sourceTree = ""; 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