Fixed the problem in NSFont where a badly named font will leak.
[ITKit.git] / ITStatusItem.m
index d0bcb9f..bf1d18f 100755 (executable)
@@ -18,6 +18,7 @@
 - (NSStatusBarButton*)_button;
 @end
 
+
 /*************************************************************************/
 #pragma mark -
 #pragma mark PRIVATE METHOD DECLARATIONS
@@ -30,6 +31,7 @@
 - (void)setSmallTitle:(NSString*)title;
 @end
 
+
 @implementation ITStatusItem
 
 /*************************************************************************/
 #pragma mark PRIVATE METHODS
 /*************************************************************************/
 
-
-
 - (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];
 }
 
+
 @end