git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed the problem in NSFont where a badly named font will leak.
[ITKit.git]
/
ITStatusItem.m
diff --git
a/ITStatusItem.m
b/ITStatusItem.m
index
31ff2e3
..
bf1d18f
100755
(executable)
--- a/
ITStatusItem.m
+++ b/
ITStatusItem.m
@@
-90,7
+90,7
@@
/*************************************************************************/
- (void)setSmallTitle:(NSString*)title {
/*************************************************************************/
- (void)setSmallTitle:(NSString*)title {
- NSAttributedString *attrTitle = [[[NSAttributedString alloc] initWithString:title attributes:[NSDictionary dictionaryWithObject:[NSFont fontWithName:@"Lucida
Grande" size:12.0] forKey:NSFontAttributeName]] autorelease];
+ NSAttributedString *attrTitle = [[[NSAttributedString alloc] initWithString:title attributes:[NSDictionary dictionaryWithObject:[NSFont fontWithName:@"LucidaGrande" size:12.0] forKey:NSFontAttributeName]] autorelease];
[self setAttributedTitle:attrTitle];
}
[self setAttributedTitle:attrTitle];
}