From 55a72eaa2e5ac2ff007a685d32c9343c32aea432 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Tue, 24 Mar 2009 19:50:04 +0100 Subject: [PATCH] menu: Increasing the maximum number of menus Impact: some hosts can generate many menus when used with hdt In some cases, we can run out of menus --- com32/cmenu/libmenu/menu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/cmenu/libmenu/menu.h b/com32/cmenu/libmenu/menu.h index d8db6c2..9b009db 100644 --- a/com32/cmenu/libmenu/menu.h +++ b/com32/cmenu/libmenu/menu.h @@ -77,7 +77,7 @@ #define SCROLLBOX 176 // Filled char to display // Attributes of the menu system -#define MAXMENUS 100 // Maximum number of menu's allowed +#define MAXMENUS 150 // Maximum number of menu's allowed #define MAXMENUSIZE 60 // Default value for max num of entries in each menu #define MAXMENUHEIGHT 20 // Maximum number of entries displayed #define MENUBOXTYPE BOX_SINSIN // Default box type Look at tui.h for other values -- 2.7.4