Permalink
Browse files

#2485: Fix typo.

  • Loading branch information...
stuconnolly committed Oct 4, 2018
1 parent 4fbf209 commit 623d40b9f8935d532346363123208f2883e1ca2f
Showing with 3 additions and 3 deletions.
  1. +3 −3 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

0 comments on commit 623d40b

Please sign in to comment.