aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakob <jakob@eggerapps.at>2009-03-26 14:06:40 +0000
committerjakob <jakob@eggerapps.at>2009-03-26 14:06:40 +0000
commit6d95384f0d5bd7552a61d7a1b080a2fc5407c898 (patch)
treeb32ebec1e9bf7ef391d17e0d115c255e2bc66e56
parente646d2046e879dba36deb20624bdaa5eb5d04257 (diff)
downloadsequelpro-6d95384f0d5bd7552a61d7a1b080a2fc5407c898.tar.gz
sequelpro-6d95384f0d5bd7552a61d7a1b080a2fc5407c898.tar.bz2
sequelpro-6d95384f0d5bd7552a61d7a1b080a2fc5407c898.zip
- updated the backtickQuotedString method to be 10.4 compatible (and to compile as well. thanks marius!)
-rw-r--r--Source/SPStringAdditions.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m
index 80498d91..a26a878e 100644
--- a/Source/SPStringAdditions.m
+++ b/Source/SPStringAdditions.m
@@ -128,7 +128,7 @@
[workingCopy replaceOccurrencesOfString: @"`"
withString: @"``"
options: NSLiteralSearch
- range: NSMakeRange(0, [quotedString length]) ];
+ range: NSMakeRange(0, [workingCopy length]) ];
// Add the quotes around the string
NSString *quotedString = [NSString stringWithFormat: @"`%@`", workingCopy];