avoid unnecessarily specifying a color

This commit is contained in:
Mitchell Livingston 2007-05-29 21:31:22 +00:00
parent 74324bb1f1
commit 0adeb9b2f6
1 changed files with 1 additions and 2 deletions

View File

@ -68,8 +68,7 @@
{
NSDictionary * attributes = [[NSDictionary alloc] initWithObjectsAndKeys:
[[NSFontManager sharedFontManager] convertFont: [NSFont fontWithName: @"Lucida Grande" size: 10.0]
toHaveTrait: NSBoldFontMask], NSFontAttributeName,
[NSColor blackColor], NSForegroundColorAttributeName, nil];
toHaveTrait: NSBoldFontMask], NSFontAttributeName, nil];
NSString * string = [NSString stringWithInt: count];
NSSize stringSize = [string sizeWithAttributes: attributes];