aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-10-17 22:49:46 +0000
committerrowanbeentje <rowan@beent.je>2011-10-17 22:49:46 +0000
commita60219ad6b0d6988635f6cde44a6c6335872f439 (patch)
tree4648ec1d98a209c0daf6d34ad712a2e554c401f9 /Source/SPTableData.m
parent02860c5fac3244ad86d2699611f220746aef2f56 (diff)
downloadsequelpro-a60219ad6b0d6988635f6cde44a6c6335872f439.tar.gz
sequelpro-a60219ad6b0d6988635f6cde44a6c6335872f439.tar.bz2
sequelpro-a60219ad6b0d6988635f6cde44a6c6335872f439.zip
- Update code to use NSStrings for NSTableColumn identifiers, as per 10.7 SDK
- Update localizable strings
Diffstat (limited to 'Source/SPTableData.m')
-rw-r--r--Source/SPTableData.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index f2c00c15..554b3e36 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -590,7 +590,7 @@
}
[fieldsParser setIgnoreCommentStrings:NO];
- [tableColumn setObject:[NSNumber numberWithInteger:[tableColumns count]] forKey:@"datacolumnindex"];
+ [tableColumn setObject:[NSString stringWithFormat:@"%llu", [tableColumns count]] forKey:@"datacolumnindex"];
[tableColumn setObject:fieldName forKey:@"name"];
// Split the remaining field definition string by spaces and process
@@ -872,7 +872,7 @@
resultRow = [theResult fetchRowAsDictionary];
// Add the column index and name
- [tableColumn setObject:[NSNumber numberWithInteger:[tableColumns count]] forKey:@"datacolumnindex"];
+ [tableColumn setObject:[NSString stringWithFormat:@"%llu", [tableColumns count]] forKey:@"datacolumnindex"];
[tableColumn setObject:[NSString stringWithString:[resultRow objectForKey:@"Field"]] forKey:@"name"];
// Populate type, length, and other available details from the Type columns