aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
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];
}