Changeset 286 for trunk/macosx/Badger.m


Ignore:
Timestamp:
Jun 7, 2006, 10:02:28 PM (16 years ago)
Author:
livings124
Message:

No need to create an autoreleased object and then retain it when it can be done in one step.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Badger.m

    r272 r286  
    4848        [stringShadow setShadowBlurRadius: 4];
    4949       
    50         fAttributes = [[NSDictionary dictionaryWithObjectsAndKeys:
     50        fAttributes = [[NSDictionary alloc] initWithObjectsAndKeys:
    5151            [NSColor whiteColor], NSForegroundColorAttributeName,
    5252            [NSFont fontWithName: @"Helvetica-Bold" size: 28], NSFontAttributeName,
    53             stringShadow, NSShadowAttributeName,
    54             nil] retain];
     53            stringShadow, NSShadowAttributeName, nil];
    5554       
    5655        [stringShadow release];
Note: See TracChangeset for help on using the changeset viewer.