Fixed a crash when Core Image was available.
[ITKit.git] / ITIconAndTextStatusWindow.m
old mode 100755 (executable)
new mode 100644 (file)
index afe0066..69e81e6
@@ -86,7 +86,7 @@
     float        maxHeight     = ( screenHeight - (SW_BORDER * 2) );
     float        excessWidth   = 0.0;
     float        excessHeight  = 0.0;
-    NSPoint      windowOrigin;
+    NSPoint      windowOrigin = NSZeroPoint;
     ITImageView *imageView;
     BOOL         shouldAnimate = ( ! (([self visibilityState] == ITWindowAppearingState) ||
                                       ([self visibilityState] == ITWindowVanishingState)) );
         divisor = MINI_DIVISOR;
     }
 
-    font = [NSFont fontWithName:@"Lucida Grande Bold" size:(baseFontSize / divisor)];
+    font = [NSFont fontWithName:@"LucidaGrande-Bold" size:(baseFontSize / divisor)];
     attr = [NSDictionary dictionaryWithObject:font forKey:NSFontAttributeName];
     
 //      Iterate over each line to get text width and height