aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-10-10 05:54:30 +0200
committerMax <post@wickenrode.com>2015-10-10 05:54:30 +0200
commit44af78202545ec911de052c5eec361f2296afc28 (patch)
tree3cc3d154b99a63c34e1d724c7dca56c8b18a1ad4 /Source
parent01ef3ad33d260119ee61b949414f038be2c8d00e (diff)
downloadsequelpro-44af78202545ec911de052c5eec361f2296afc28.tar.gz
sequelpro-44af78202545ec911de052c5eec361f2296afc28.tar.bz2
sequelpro-44af78202545ec911de052c5eec361f2296afc28.zip
Rename a variable that was desperately trying to cause coding errors
Diffstat (limited to 'Source')
-rw-r--r--Source/SPExportController.h2
-rw-r--r--Source/SPExportFilenameUtilities.m4
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPExportController.h b/Source/SPExportController.h
index 188642f4..bc706f46 100644
--- a/Source/SPExportController.h
+++ b/Source/SPExportController.h
@@ -92,7 +92,7 @@
IBOutlet NSButton *exportCustomFilenameViewLabelButton;
IBOutlet NSView *exportCustomFilenameView;
IBOutlet NSTokenField *exportCustomFilenameTokenField;
- IBOutlet NSTokenField *exportCustomFilenameTokensField;
+ IBOutlet NSTokenField *exportCustomFilenameTokenPool;
// SQL
IBOutlet NSButton *exportSQLIncludeStructureCheck;
diff --git a/Source/SPExportFilenameUtilities.m b/Source/SPExportFilenameUtilities.m
index a65b8e53..d8f1198f 100644
--- a/Source/SPExportFilenameUtilities.m
+++ b/Source/SPExportFilenameUtilities.m
@@ -121,7 +121,7 @@
}
}
- [exportCustomFilenameTokensField setStringValue:[exportTokens componentsJoinedByString:@","]];
+ [exportCustomFilenameTokenPool setStringValue:[exportTokens componentsJoinedByString:@","]];
}
/**
@@ -130,7 +130,7 @@
*/
- (id)tokenObjectForString:(NSString *)stringToTokenize
{
- if ([[exportCustomFilenameTokensField objectValue] containsObject:stringToTokenize]) {
+ if ([[exportCustomFilenameTokenPool objectValue] containsObject:stringToTokenize]) {
SPExportFileNameTokenObject *newToken = [[SPExportFileNameTokenObject alloc] init];
[newToken setTokenContent:stringToTokenize];