aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableSource.m
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-02-28 05:02:27 +0000
committeravenjamin <avenjamin@gmail.com>2009-02-28 05:02:27 +0000
commitce5a6e4f3d90dcc775f4d81f19e20c412eb5af23 (patch)
tree977f502a938af428f9433e9850819d3887ddda0d /Source/TableSource.m
parentb8c9157be916c058f867e24e1d087271de022047 (diff)
downloadsequelpro-ce5a6e4f3d90dcc775f4d81f19e20c412eb5af23.tar.gz
sequelpro-ce5a6e4f3d90dcc775f4d81f19e20c412eb5af23.tar.bz2
sequelpro-ce5a6e4f3d90dcc775f4d81f19e20c412eb5af23.zip
Cleaned up warnings when building against 10.5 SDK
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]];
}