mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 19:29:18 +00:00
Identation & bracket position changes
This commit is contained in:
parent
50787359a5
commit
aea2b09d47
@ -69,22 +69,21 @@ void prefs_exit()
|
||||
|
||||
- (id) tableView: (NSTableView *) table objectValueForTableColumn: (NSTableColumn *) col row: (int) row
|
||||
{
|
||||
DiskType *d = (DiskType*)[diskArray objectAtIndex:row];
|
||||
DiskType *d = (DiskType*)[diskArray objectAtIndex:row];
|
||||
|
||||
if([[col identifier] isEqualTo:@"isCDROMcol"])
|
||||
{
|
||||
return [NSString stringWithFormat:@"%d", [d isCDROM]];
|
||||
}
|
||||
if([[col identifier] isEqualTo:@"isCDROMcol"]) {
|
||||
return [NSString stringWithFormat:@"%d", [d isCDROM]];
|
||||
}
|
||||
|
||||
return [d path];
|
||||
return [d path];
|
||||
}
|
||||
|
||||
-(void)tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
|
||||
{
|
||||
if ([[tableColumn identifier] isEqual:@"isCDROMcol"]) {
|
||||
DiskType *d = (DiskType*)[diskArray objectAtIndex:row];
|
||||
[d setIsCDROM:![d isCDROM]];
|
||||
}
|
||||
if ([[tableColumn identifier] isEqual:@"isCDROMcol"]) {
|
||||
DiskType *d = (DiskType*)[diskArray objectAtIndex:row];
|
||||
[d setIsCDROM:![d isCDROM]];
|
||||
}
|
||||
}
|
||||
|
||||
static NSString *getStringFromPrefs(const char *key)
|
||||
|
Loading…
Reference in New Issue
Block a user