aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2016-07-10 01:11:47 +0200
committerMax <post@wickenrode.com>2016-07-10 01:11:47 +0200
commite155d94a911e4acf45d36d931299b1cb34cac41d (patch)
tree2f69dbee8a92fdabe4cb3b55b940f321e51a2875 /Source
parentc1a6244330d6c5643e5932bc592f379ed5fa1455 (diff)
downloadsequelpro-e155d94a911e4acf45d36d931299b1cb34cac41d.tar.gz
sequelpro-e155d94a911e4acf45d36d931299b1cb34cac41d.tar.bz2
sequelpro-e155d94a911e4acf45d36d931299b1cb34cac41d.zip
Fix a spelling mistake (code)
Diffstat (limited to 'Source')
-rw-r--r--Source/SPContentFilterManager.h4
-rw-r--r--Source/SPContentFilterManager.m4
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPContentFilterManager.h b/Source/SPContentFilterManager.h
index e89ac8ec..96e864ed 100644
--- a/Source/SPContentFilterManager.h
+++ b/Source/SPContentFilterManager.h
@@ -60,7 +60,7 @@
IBOutlet id resultingClauseLabel;
IBOutlet id resultingClauseContentLabel;
IBOutlet id insertPlaceholderButton;
- IBOutlet NSButton *suppressLeadingFiledPlaceholderCheckbox;
+ IBOutlet NSButton *suppressLeadingFieldPlaceholderCheckbox;
IBOutlet id contentFilterArrayController;
@@ -85,6 +85,6 @@
- (IBAction)exportContentFilter:(id)sender;
- (IBAction)importContentFilterByAdding:(id)sender;
- (IBAction)closeContentFilterManagerSheet:(id)sender;
-- (IBAction)suppressLeadingFiledPlaceholderWasChanged:(id)sender;
+- (IBAction)suppressLeadingFieldPlaceholderWasChanged:(id)sender;
@end
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m
index 9ba9c0a0..fe20bcf1 100644
--- a/Source/SPContentFilterManager.m
+++ b/Source/SPContentFilterManager.m
@@ -418,7 +418,7 @@ static NSString *SPExportFilterAction = @"SPExportFilter";
* It triggers an update of contentFilterTextView and
* resultingClauseContentLabel by inserting @"" into contentFilterTextView
*/
-- (IBAction)suppressLeadingFiledPlaceholderWasChanged:(id)sender
+- (IBAction)suppressLeadingFieldPlaceholderWasChanged:(id)sender
{
[contentFilterTextView insertText:@""];
}
@@ -761,7 +761,7 @@ static NSString *SPExportFilterAction = @"SPExportFilter";
[c flushCachedRegexData];
[c replaceOccurrencesOfRegex:@"(?<!\\\\)\\$CURRENT_FIELD" withString:@"<field>"];
[c flushCachedRegexData];
- [resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFiledPlaceholderCheckbox state] == NSOnState) ? @"" : @"<field> ", c]];
+ [resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFieldPlaceholderCheckbox state] == NSOnState) ? @"" : @"<field> ", c]];
[c release];
}