aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2008-11-11 02:34:56 +0000
committermltownsend <mltownsend@gmail.com>2008-11-11 02:34:56 +0000
commitd99442d0b99b997465ecc4156717569b00548f2a (patch)
tree95779433ab36bd4ed5324d5b92cd62508f5d141d
parent38bcd8a9fa241d2b0585c568ce618548259dc9cc (diff)
downloadsequelpro-d99442d0b99b997465ecc4156717569b00548f2a.tar.gz
sequelpro-d99442d0b99b997465ecc4156717569b00548f2a.tar.bz2
sequelpro-d99442d0b99b997465ecc4156717569b00548f2a.zip
Fixed syntax error in getting rid of 'cString' calls.
-rw-r--r--TableDocument.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/TableDocument.m b/TableDocument.m
index 89dd0b85..408aa2f6 100644
--- a/TableDocument.m
+++ b/TableDocument.m
@@ -614,7 +614,7 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa
// set encoding of connection and client
[mySQLConnection queryString:[NSString stringWithFormat:@"SET NAMES '%@'", mysqlEncoding]];
if ( [[mySQLConnection getLastErrorMessage] isEqualToString:@""] ) {
- [mySQLConnection setEncoding:[CMMCPConnection encodingForMySQLEncoding:[mysqlEncoding UT]]];
+ [mySQLConnection setEncoding:[CMMCPConnection encodingForMySQLEncoding:[mysqlEncoding UTF8String]]];
[_encoding autorelease];
_encoding = [mysqlEncoding retain];
} else {