[vlc-commits] macosx: remove level 0 from the post-pp menu
Felix Paul Kühne
git at videolan.org
Tue Aug 5 19:02:10 CEST 2014
vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun 16 12:27:45 2014 +0200| [00688943f35b916632f72294715692fa09d753e8] | committer: David Fuhrmann
macosx: remove level 0 from the post-pp menu
(cherry picked from commit e6578e3d925581af40e6ba102e1664b38a41b0e5)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=00688943f35b916632f72294715692fa09d753e8
---
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 dd993fb..bfbd112 100644
--- a/modules/gui/macosx/MainMenu.m
+++ b/modules/gui/macosx/MainMenu.m
@@ -279,11 +279,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