about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Modules/curses.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d3cd4ac4..3a3f69311 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-23  Clint Adams  <clint@zsh.org>
+
+	* 24010: Src/Modules/curses.c: fix max arguments for 'zcurses
+	border' to 1.
+
 2007-10-23  Peter Stephenson  <pws@csr.com>
 
 	* users/12087: Src/glob.c: fix a case where we doing globbing
diff --git a/Src/Modules/curses.c b/Src/Modules/curses.c
index 4103d853c..433d53f2b 100644
--- a/Src/Modules/curses.c
+++ b/Src/Modules/curses.c
@@ -291,7 +291,7 @@ bin_zcurses(char *nam, char **args, Options ops, UNUSED(int func))
 	{{"move", ZCURSES_SC_MOVE}, 3, 3},
 	{{"c", ZCURSES_SC_CHAR}, 2, 2},
 	{{"s", ZCURSES_SC_STRING}, 2, 2},
-	{{"border", ZCURSES_SC_BORDER}, 1, 5},
+	{{"border", ZCURSES_SC_BORDER}, 1, 1},
 	{{"endwin", ZCURSES_SC_ENDWIN}, 1, 1},
 	{{"attr", ZCURSES_SC_ATTR}, 2, 2},
 	{{"color", ZCURSES_SC_COLOR}, 2, 2},