Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a9bd991c8bf8d8d09de8da69ad01114b503770c5 1 parent 1a9dbef
@cyco cyco authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  OpenEmu/OEPrefCoresController.m
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.