Skip to content

Commit

Permalink
#2485: Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuconnolly committed Oct 4, 2018
1 parent 4fbf209 commit 623d40b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/SPAboutController.m
Expand Up @@ -135,11 +135,11 @@ - (void)_setVersionLabel:(BOOL)isSnapshotBuild
*/ */
- (NSAttributedString *)_loadRtfResource:(NSString *)filename - (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 @end

0 comments on commit 623d40b

Please sign in to comment.