aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPStringAdditions.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPStringAdditions.m')
-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];