aboutsummaryrefslogtreecommitdiffstats
path: root/TableContent.m
diff options
context:
space:
mode:
Diffstat (limited to 'TableContent.m')
-rw-r--r--TableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/TableContent.m b/TableContent.m
index 9b2e3b27..f26f12b7 100644
--- a/TableContent.m
+++ b/TableContent.m
@@ -678,7 +678,7 @@ saves a file containing the content of the editSheet
}
if ( [editData respondsToSelector:@selector(writeToFile:atomically:encoding:error:)] ) {
// mac os 10.4 or later
- [editData writeToFile:fileName atomically:YES encoding:[CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance getSelectedEncoding] cString]] error:errorStr];
+ [editData writeToFile:fileName atomically:YES encoding:[CMMCPConnection encodingForMySQLEncoding:[[tableDocumentInstance encoding] cString]] error:errorStr];
} else {
// mac os pre 10.4
[editData writeToFile:fileName atomically:YES];