diff options
author | stuconnolly <stuart02@gmail.com> | 2012-07-21 07:03:02 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-07-21 07:03:02 +0000 |
commit | 5ad6486f86297a93aca37ee315616127d2591d4f (patch) | |
tree | 04f15b7b9b740f7ba91f707fe38eea6a9cf300b0 /Frameworks/QueryKit | |
parent | e014abf5d279304ca2f8ca3aafdb31023697e74a (diff) | |
download | sequelpro-5ad6486f86297a93aca37ee315616127d2591d4f.tar.gz sequelpro-5ad6486f86297a93aca37ee315616127d2591d4f.tar.bz2 sequelpro-5ad6486f86297a93aca37ee315616127d2591d4f.zip |
QueryKit: Update quoting method.
Diffstat (limited to 'Frameworks/QueryKit')
-rw-r--r-- | Frameworks/QueryKit/QueryKit.xcodeproj/project.pbxproj | 2 | ||||
-rw-r--r-- | Frameworks/QueryKit/Source/QKQueryStringAdditions.m | 2 |
2 files changed, 2 insertions, 2 deletions
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 = "<group>"; 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 |