Skip to content
Permalink
Browse files
#2485: Fix typo.
  • Loading branch information
stuconnolly committed Oct 4, 2018
1 parent 4fbf209 commit 623d40b
Showing 1 changed file with 3 additions and 3 deletions.
@@ -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.