From 44af78202545ec911de052c5eec361f2296afc28 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 10 Oct 2015 05:54:30 +0200 Subject: Rename a variable that was desperately trying to cause coding errors --- Source/SPExportController.h | 2 +- Source/SPExportFilenameUtilities.m | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Source') 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]; -- cgit v1.2.3