From: H. Peter Anvin Date: Tue, 12 Feb 2008 22:10:13 +0000 (-0800) Subject: simple menu: extend command line size to 2047 characters X-Git-Tag: syslinux-3.62-pre2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f16111bfd43bb2f75a0268661d7e908f3fa91f3;p=profile%2Fivi%2Fsyslinux.git simple menu: extend command line size to 2047 characters 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. --- diff --git a/com32/menu/menu.h b/com32/menu/menu.h index 122a09d..e8a8f03 100644 --- a/com32/menu/menu.h +++ b/com32/menu/menu.h @@ -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[];