Permalink
Browse files

Fixed core preferences. When fixing code style, please keep in mind t…

…hat if([plugin appcastItem] != nil || title != nil) is not the same as if(![plugin appcastItem] || !title)
  • Loading branch information...
1 parent 1a9dbef commit a9bd991c8bf8d8d09de8da69ad01114b503770c5 @cyco cyco committed May 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 OpenEmu/OEPrefCoresController.m
@@ -165,7 +165,7 @@ - (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableCo
title = NSLocalizedString(@"Update", @"Update Core");
}
- if([plugin appcastItem] != nil || title != nil) return [tableColumn dataCellForRow:row];
+ if([plugin appcastItem] == nil || title == nil) return [tableColumn dataCellForRow:row];
OECoreTableButtonCell *buttonCell = [[OECoreTableButtonCell alloc] initTextCell:title];
return buttonCell;

0 comments on commit a9bd991

Please sign in to comment.