aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r--Source/SPExportController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m
index ace630b6..315df604 100644
--- a/Source/SPExportController.m
+++ b/Source/SPExportController.m
@@ -44,8 +44,8 @@ static const NSString *SPTableViewContentColumnID = @"content";
static const NSString *SPTableViewDropColumnID = @"drop";
static const NSString *SPSQLExportStructureEnabled = @"SQLExportStructureEnabled";
-static const NSString *SPSQLExportContentEnabled = @"SQLExportContentEnabled";
-static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled";
+static const NSString *SPSQLExportContentEnabled = @"SQLExportContentEnabled";
+static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled";
@interface SPExportController (PrivateAPI)
@@ -642,7 +642,7 @@ static const NSString *SPSQLExportDropEnabled = @"SQLExportDropEnabled";
// Check whether to save the export filename. Save it if it's not blank and contains at least one
// token - this suggests it's not a one-off filename
- if (![exportCustomFilenameTokenField stringValue]) {
+ if ([[exportCustomFilenameTokenField stringValue] length] < 1) {
[prefs removeObjectForKey:SPExportFilenameFormat];
}
else {