aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-08 21:38:36 +0100
committerErwan Velu <erwan.velu@free.fr>2009-11-08 21:38:36 +0100
commit41ef275d51aaac8a9f09e4ce38dd35b54220cc03 (patch)
treeb06e8415c9b676af5deec738ac9a0eb7836c6048
parent43fde054dd2c3615461000325afbe08ea3e56823 (diff)
downloadsyslinux-41ef275d51aaac8a9f09e4ce38dd35b54220cc03.tar.gz
syslinux-41ef275d51aaac8a9f09e4ce38dd35b54220cc03.tar.xz
syslinux-41ef275d51aaac8a9f09e4ce38dd35b54220cc03.zip
cmenu: Increasing limits
Impact: avoid memory corruption with hdt Some users reported systems with 89 pci devices. This case requires to increase theses values
-rw-r--r--com32/cmenu/libmenu/menu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/cmenu/libmenu/menu.h b/com32/cmenu/libmenu/menu.h
index 44acb122..a1356020 100644
--- a/com32/cmenu/libmenu/menu.h
+++ b/com32/cmenu/libmenu/menu.h
@@ -76,8 +76,8 @@
#define MOREBELOW 'v' // more items available below
// Attributes of the menu system
-#define MAXMENUS 150 // Maximum number of menu's allowed
-#define MAXMENUSIZE 60 // Default value for max num of entries in each menu
+#define MAXMENUS 250 // Maximum number of menu's allowed
+#define MAXMENUSIZE 100 // 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