summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-12 14:10:13 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-12 14:10:13 -0800
commit6f16111bfd43bb2f75a0268661d7e908f3fa91f3 (patch)
treec5ef0aa30964a742ab32aaa372536a1486aa830e
parent2bb82b2e05ad96787722ef99bc429e31afb1e94e (diff)
downloadsyslinux-6f16111bfd43bb2f75a0268661d7e908f3fa91f3.tar.gz
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.
-rw-r--r--com32/menu/menu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/menu/menu.h b/com32/menu/menu.h
index 122a09d2..e8a8f031 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[];