Commit d382c9d9 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/wxwindows/menus.cpp: increased size of a couple of arrays for safety.

parent 299d029a
...@@ -141,7 +141,7 @@ wxMenu *MiscMenu( intf_thread_t *p_intf ) ...@@ -141,7 +141,7 @@ wxMenu *MiscMenu( intf_thread_t *p_intf )
void PopupMenu( intf_thread_t *p_intf, wxWindow *p_parent, void PopupMenu( intf_thread_t *p_intf, wxWindow *p_parent,
const wxPoint& pos ) const wxPoint& pos )
{ {
#define MAX_POPUP_ITEMS 35 #define MAX_POPUP_ITEMS 45
vlc_object_t *p_object; vlc_object_t *p_object;
char *ppsz_varnames[MAX_POPUP_ITEMS]; char *ppsz_varnames[MAX_POPUP_ITEMS];
...@@ -396,7 +396,7 @@ wxMenu *VideoMenu( intf_thread_t *_p_intf, wxWindow *p_parent, wxMenu *p_menu ) ...@@ -396,7 +396,7 @@ wxMenu *VideoMenu( intf_thread_t *_p_intf, wxWindow *p_parent, wxMenu *p_menu )
wxMenu *NavigMenu( intf_thread_t *_p_intf, wxWindow *p_parent, wxMenu *p_menu ) wxMenu *NavigMenu( intf_thread_t *_p_intf, wxWindow *p_parent, wxMenu *p_menu )
{ {
#define MAX_NAVIG_ITEMS 10 #define MAX_NAVIG_ITEMS 15
vlc_object_t *p_object; vlc_object_t *p_object;
char *ppsz_varnames[MAX_NAVIG_ITEMS]; char *ppsz_varnames[MAX_NAVIG_ITEMS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment