simple menu: extend command line size to 2047 characters
authorH. Peter Anvin <hpa@zytor.com>
Tue, 12 Feb 2008 22:10:13 +0000 (14:10 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 12 Feb 2008 22:10:13 +0000 (14:10 -0800)
Extend the command line size to 2047 characters.  The editor probably
doesn't deal all that well with it; as it pretty much needs a
scrolling window of some sort (2047 characters is bigger than an 80x25
screen.)

Worry about that bit later.

com32/menu/menu.h

index 122a09d..e8a8f03 100644 (file)
@@ -76,8 +76,8 @@ struct messages {
 };
 extern struct messages messages[MSG_COUNT];
 
-/* 512 is the current definition inside syslinux */
-#define MAX_CMDLINE_LEN         512
+/* 2048 is the current definition inside syslinux */
+#define MAX_CMDLINE_LEN         2048
 
 #define MAX_ENTRIES    4096    /* Oughta be enough for anybody */
 extern struct menu_entry menu_entries[];