summaryrefslogtreecommitdiffstats
path: root/macosx/HBAdvancedController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAdvancedController.m')
-rw-r--r--macosx/HBAdvancedController.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m
index 0900c010e..e0f509235 100644
--- a/macosx/HBAdvancedController.m
+++ b/macosx/HBAdvancedController.m
@@ -76,7 +76,7 @@
return;
}
- - (void) enableUI: (bool) b
+ - (void)setUIEnabled:(BOOL)flag
{
unsigned i;
NSControl * controls[] =
@@ -97,16 +97,16 @@
NSTextField * tf = (NSTextField *) controls[i];
if( ![tf isBezeled] )
{
- [tf setTextColor: b ? [NSColor controlTextColor] :
+ [tf setTextColor: flag ? [NSColor controlTextColor] :
[NSColor disabledControlTextColor]];
continue;
}
}
- [controls[i] setEnabled: b];
+ [controls[i] setEnabled: flag];
}
- [fX264optView setWantsLayer:YES];
+ //[fX264optView setWantsLayer:YES];
}
- (void)dealloc