From 623d40b9f8935d532346363123208f2883e1ca2f Mon Sep 17 00:00:00 2001 From: Stuart Connolly Date: Thu, 4 Oct 2018 10:36:31 +0100 Subject: [PATCH] #2485: Fix typo. --- Source/SPAboutController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/SPAboutController.m b/Source/SPAboutController.m index ab696b3c2..fcd6026a7 100644 --- a/Source/SPAboutController.m +++ b/Source/SPAboutController.m @@ -135,11 +135,11 @@ - (void)_setVersionLabel:(BOOL)isSnapshotBuild */ - (NSAttributedString *)_loadRtfResource:(NSString *)filename { - NSMutableAttributedString *resouece = [[NSMutableAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:filename ofType:@"rtf"] documentAttributes:nil]; + NSMutableAttributedString *resource = [[NSMutableAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:filename ofType:@"rtf"] documentAttributes:nil]; - [resouece addAttribute:NSForegroundColorAttributeName value:[NSColor textColor] range:NSMakeRange(0, [resouece length])]; + [resource addAttribute:NSForegroundColorAttributeName value:[NSColor textColor] range:NSMakeRange(0, [resource length])]; - return [resouece autorelease]; + return [resource autorelease]; } @end