[vlc-commits] macosx: remove level 0 from the post-pp menu
Felix Paul Kühne
git at videolan.org
Mon Jun 16 12:27:47 CEST 2014
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun 16 12:27:45 2014 +0200| [e6578e3d925581af40e6ba102e1664b38a41b0e5] | committer: Felix Paul Kühne
macosx: remove level 0 from the post-pp menu
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e6578e3d925581af40e6ba102e1664b38a41b0e5
---
modules/gui/macosx/MainMenu.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/MainMenu.m b/modules/gui/macosx/MainMenu.m
index 032c263..5be473b 100644
--- a/modules/gui/macosx/MainMenu.m
+++ b/modules/gui/macosx/MainMenu.m
@@ -285,11 +285,11 @@ static VLCMainMenu *_o_sharedInstance = nil;
[o_mitem setTag: -1];
[o_mitem setEnabled: YES];
[o_mitem setTarget: self];
- for (NSUInteger x = 0; x < 7; x++) {
+ for (NSUInteger x = 1; x < 7; x++) {
[o_mu_ffmpeg_pp addItemWithTitle:[NSString stringWithFormat:_NS("Level %i"), x]
action:@selector(togglePostProcessing:)
keyEquivalent:@""];
- o_mitem = [o_mu_ffmpeg_pp itemAtIndex:x+1];
+ o_mitem = [o_mu_ffmpeg_pp itemAtIndex:x];
[o_mitem setEnabled: YES];
[o_mitem setTag:x];
[o_mitem setTarget: self];
More information about the vlc-commits
mailing list