Skip to content

Commit 623d40b

Browse files
committed
#2485: Fix typo.
1 parent 4fbf209 commit 623d40b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: Source/SPAboutController.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,11 @@ - (void)_setVersionLabel:(BOOL)isSnapshotBuild
135135
*/
136136
- (NSAttributedString *)_loadRtfResource:(NSString *)filename
137137
{
138-
NSMutableAttributedString *resouece = [[NSMutableAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:filename ofType:@"rtf"] documentAttributes:nil];
138+
NSMutableAttributedString *resource = [[NSMutableAttributedString alloc] initWithPath:[[NSBundle mainBundle] pathForResource:filename ofType:@"rtf"] documentAttributes:nil];
139139

140-
[resouece addAttribute:NSForegroundColorAttributeName value:[NSColor textColor] range:NSMakeRange(0, [resouece length])];
140+
[resource addAttribute:NSForegroundColorAttributeName value:[NSColor textColor] range:NSMakeRange(0, [resource length])];
141141

142-
return [resouece autorelease];
142+
return [resource autorelease];
143143
}
144144

145145
@end

0 commit comments

Comments
 (0)