Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f48edcc6
Commit
f48edcc6
authored
Jan 26, 2003
by
Sam Hocevar
Browse files
* ./modules/gui/win32/menu.cpp: fixed a crash in the navigation menu
generation.
parent
263a9544
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/gui/win32/menu.cpp
View file @
f48edcc6
...
...
@@ -2,7 +2,7 @@
* menu.cpp: functions to handle menu items
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: menu.cpp,v 1.
9
2003/01/2
4 12:0
1:
0
3 sam Exp $
* $Id: menu.cpp,v 1.
10
2003/01/2
6 00:5
1:
4
3 sam Exp $
*
* Authors: Olivier Teuliere <ipkiss@via.ecp.fr>
*
...
...
@@ -926,7 +926,7 @@ void __fastcall TMenusGen::NavigationMenu( TMenuItem *Root,
Root
->
Enabled
=
false
;
Root
->
Clear
();
i_title_nb
=
p_intf
->
p_sys
->
p_input
->
stream
.
i_area_nb
;
i_title_nb
=
p_intf
->
p_sys
->
p_input
->
stream
.
i_area_nb
-
1
;
/* loop on titles */
for
(
unsigned
int
i_title
=
1
;
i_title
<=
i_title_nb
;
i_title
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment