aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseData.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-24 21:51:27 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-24 21:51:27 +0000
commit3b70bf3ed475602fac435b86ab564423ae1dfdb0 (patch)
tree2328be21dbfdaec7e07caad38c2b46d26c76fcd7 /Source/SPDatabaseData.m
parent47f354070f1fa8dfeb46c4065075ee53de4c1626 (diff)
downloadsequelpro-3b70bf3ed475602fac435b86ab564423ae1dfdb0.tar.gz
sequelpro-3b70bf3ed475602fac435b86ab564423ae1dfdb0.tar.bz2
sequelpro-3b70bf3ed475602fac435b86ab564423ae1dfdb0.zip
General tidy up, with a focus on consolidating more constants in SPConstants.h/m.
Diffstat (limited to 'Source/SPDatabaseData.m')
-rw-r--r--Source/SPDatabaseData.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPDatabaseData.m b/Source/SPDatabaseData.m
index 78b4295e..4e40f998 100644
--- a/Source/SPDatabaseData.m
+++ b/Source/SPDatabaseData.m
@@ -32,7 +32,7 @@
@end
-const CHAR_SETS charsets[] =
+const SPDatabaseCharSets charsets[] =
{
{ 1, "big5","big5_chinese_ci", "Big5 Traditional Chinese"},
{ 3, "dec8", "dec8_swedisch_ci", "DEC West European"},
@@ -239,7 +239,7 @@ const CHAR_SETS charsets[] =
// If that failed, get the list of collations from the hard-coded list
if (![collations count]) {
- const CHAR_SETS *c = charsets;
+ const SPDatabaseCharSets *c = charsets;
do {
[collations addObject:[NSString stringWithCString:c->collation encoding:NSUTF8StringEncoding]];
@@ -272,7 +272,7 @@ const CHAR_SETS charsets[] =
// If that failed, get the list of collations matching the supplied encoding from the hard-coded list
if (![characterSetCollations count]) {
- const CHAR_SETS *c = charsets;
+ const SPDatabaseCharSets *c = charsets;
do {
NSString *charSet = [NSString stringWithCString:c->name encoding:NSUTF8StringEncoding];
@@ -385,7 +385,7 @@ const CHAR_SETS charsets[] =
// If that failed, get the list of character set encodings from the hard-coded list
if (![characterSetEncodings count]) {
- const CHAR_SETS *c = charsets;
+ const SPDatabaseCharSets *c = charsets;
do {
[characterSetEncodings addObject:[NSDictionary dictionaryWithObjectsAndKeys: