From 6d95384f0d5bd7552a61d7a1b080a2fc5407c898 Mon Sep 17 00:00:00 2001 From: jakob Date: Thu, 26 Mar 2009 14:06:40 +0000 Subject: - updated the backtickQuotedString method to be 10.4 compatible (and to compile as well. thanks marius!) --- Source/SPStringAdditions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3