From e155d94a911e4acf45d36d931299b1cb34cac41d Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 10 Jul 2016 01:11:47 +0200 Subject: Fix a spelling mistake (code) --- Source/SPContentFilterManager.h | 4 ++-- Source/SPContentFilterManager.m | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Source') 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:@"(?"]; [c flushCachedRegexData]; - [resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFiledPlaceholderCheckbox state] == NSOnState) ? @"" : @" ", c]]; + [resultingClauseContentLabel setStringValue:[NSString stringWithFormat:@"%@%@", ([suppressLeadingFieldPlaceholderCheckbox state] == NSOnState) ? @"" : @" ", c]]; [c release]; } -- cgit v1.2.3