aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/TableSource.m')
-rw-r--r--Source/TableSource.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/TableSource.m b/Source/TableSource.m
index 33d3777b..7d642bf2 100644
--- a/Source/TableSource.m
+++ b/Source/TableSource.m
@@ -134,8 +134,8 @@ loads aTable, put it in an array, update the tableViewColumns and reload the tab
for ( i = 0 ; i < [possibleValues count] ; i++ ) {
[possibleValue setString:[possibleValues objectAtIndex:i]];
- [possibleValue replaceOccurrencesOfString:@"''" withString:@"'" options:nil range:NSMakeRange(0,[possibleValue length])];
- [possibleValue replaceOccurrencesOfString:@"\\\\" withString:@"\\" options:nil range:NSMakeRange(0,[possibleValue length])];
+ [possibleValue replaceOccurrencesOfString:@"''" withString:@"'" options:NSLiteralSearch range:NSMakeRange(0,[possibleValue length])];
+ [possibleValue replaceOccurrencesOfString:@"\\\\" withString:@"\\" options:NSLiteralSearch range:NSMakeRange(0,[possibleValue length])];
[possibleValues replaceObjectAtIndex:i withObject:[NSString stringWithString:possibleValue]];
}