summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-10-23 19:56:35 +0000
committerClint Adams <clint@users.sourceforge.net>2007-10-23 19:56:35 +0000
commit2ab16a2cd9cb461b56278d1359521418db092f1c (patch)
tree249f8c43d47f41fced9cfffcc6f9a9a32e0bf488 /Src
parent596f772ade6bf0ee17ece143171b184386161be7 (diff)
downloadzsh-2ab16a2cd9cb461b56278d1359521418db092f1c.tar.gz
zsh-2ab16a2cd9cb461b56278d1359521418db092f1c.tar.xz
zsh-2ab16a2cd9cb461b56278d1359521418db092f1c.zip
24010: fix max arguments for 'zcurses border' to 1.
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/curses.c2
1 files changed, 1 insertions, 1 deletions
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},