Changeset 9152


Ignore:
Timestamp:
Sep 21, 2009, 1:13:39 AM (12 years ago)
Author:
livings124
Message:

remove unneeded check for user-added tier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r9127 r9152  
    910910        id item = [fTrackers objectAtIndex: row];
    911911        if ([item isKindOfClass: [NSNumber class]])
    912         {
    913             NSInteger tier = [item intValue];
    914             if (tier == 0)
    915                 return NSLocalizedString(@"User-Added", "Inspector -> tracker table");
    916             else
    917                 return [NSString stringWithFormat: NSLocalizedString(@"Tier %d", "Inspector -> tracker table"), tier];
    918         }
     912            return [NSString stringWithFormat: NSLocalizedString(@"Tier %d", "Inspector -> tracker table"), [item integerValue]];
    919913        else
    920914            return item;
Note: See TracChangeset for help on using the changeset viewer.