diff options
author | ritsuka <[email protected]> | 2008-07-28 17:06:39 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2008-07-28 17:06:39 +0000 |
commit | 9fcde78af1af10563bf9ea0cd07dbc9da3207a66 (patch) | |
tree | e9951b5bc2998182b0126290fcd4332a570ab950 /macosx/HBAdvancedController.m | |
parent | cd18a6fff47eb748cde2df8c3b719e3a07b71543 (diff) |
MacGui: Use nil instead of NULL. Patch by blindjimmy. http://handbrake.djgraphite.com/r/33/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1586 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAdvancedController.m')
-rw-r--r-- | macosx/HBAdvancedController.m | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m index 144fb3bed..c1aad5ad0 100644 --- a/macosx/HBAdvancedController.m +++ b/macosx/HBAdvancedController.m @@ -41,7 +41,7 @@ - (void) setOptions: (NSString *)string { [fDisplayX264Options setStringValue:string]; - [self X264AdvancedOptionsSet:NULL]; + [self X264AdvancedOptionsSet:nil]; } - (void) setHidden: (BOOL) hide @@ -197,34 +197,34 @@ { [fX264optAlphaDeblockPopUp addItemWithTitle:[NSString stringWithFormat:@"%d",i]]; } - + /*Beta Deblock*/ [fX264optBetaDeblockPopUp removeAllItems]; [fX264optBetaDeblockPopUp addItemWithTitle:@"Default (0)"]; for (i=-6; i<7;i++) { [fX264optBetaDeblockPopUp addItemWithTitle:[NSString stringWithFormat:@"%d",i]]; - } - + } + /* Analysis fX264optAnalysePopUp */ [fX264optAnalysePopUp removeAllItems]; [fX264optAnalysePopUp addItemWithTitle:@"Default (some)"]; /* 0=default */ [fX264optAnalysePopUp addItemWithTitle:[NSString stringWithFormat:@"None"]]; /* 1=none */ [fX264optAnalysePopUp addItemWithTitle:[NSString stringWithFormat:@"All"]]; /* 2=all */ - + /* 8x8 DCT fX264op8x8dctSwitch */ [fX264opt8x8dctSwitch setState:0]; [fX264opt8x8dctSwitch setWantsLayer:YES]; - + /* CABAC fX264opCabacSwitch */ [fX264optCabacSwitch setState:1]; - + /* Standardize the option string */ - [self X264AdvancedOptionsStandardizeOptString: NULL]; + [self X264AdvancedOptionsStandardizeOptString:nil]; /* Set Current GUI Settings based on newly standardized string */ - [self X264AdvancedOptionsSetCurrentSettings: NULL]; - + [self X264AdvancedOptionsSetCurrentSettings:nil]; + /* Fade out options that don't apply */ [self X264AdvancedOptionsAnimate: sender]; } |