Ignore:
Timestamp:
02/24/08 06:03:02 (12 years ago)
Author:
Nicholas Riley
Message:

Replace id<NSMenuItem> with NSMenuItem * to remove warnings.

Minor code style cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/F-Script Anywhere/Source/FSAController.m

    r226 r397  
    5252    if (!alreadyInstalled && ((mainMenu = [NSApp mainMenu]) != nil)) {
    5353        NSMenu *insertIntoMenu = nil;
    54         id<NSMenuItem> item;
     54        NSMenuItem *item;
    5555        unsigned insertLoc = NSNotFound;
    5656        NSBundle *bundle = [NSBundle bundleForClass: self];
     
    115115}
    116116
    117 + (BOOL)validateMenuItem:(id <NSMenuItem>)menuItem
     117+ (BOOL)validateMenuItem:(NSMenuItem *)menuItem
    118118{
    119119    SEL sel;
     
    151151        static unsigned numInterpWindows = 0;
    152152       
    153         if(showInterpreter){
     153        if (showInterpreter) {
    154154            NSAssert(window != nil, @"Can't get interpreter window!");
    155155            if (interpreterNum == 0) interpreterNum = ++numInterpWindows;
Note: See TracChangeset for help on using the changeset viewer.