about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-10-26 22:04:51 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-10-26 22:04:51 +0000
commit4540478d691e397f903c6425957d38d5b0c676b6 (patch)
tree3ff5415d93fc934e48964c0b2c9e56f825dcee87
parent7f8e2298181fcbf3399eb9bde1564c1fe2fe9df3 (diff)
downloadzsh-4540478d691e397f903c6425957d38d5b0c676b6.tar.gz
zsh-4540478d691e397f903c6425957d38d5b0c676b6.tar.xz
zsh-4540478d691e397f903c6425957d38d5b0c676b6.zip
zcurses input: oops
-rw-r--r--ChangeLog2
-rw-r--r--Src/Modules/curses.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dedcf4193..0bab7396d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-10-26  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* unposted: Src/curses.c: zcurses input oops.
+	
 	* 24024: configure.ac, Doc/Zsh/mod_curses.yo,
 	Src/Modules/curses.c:  add "zcurses input" for single character
 	raw input without echoing.  Test for wget_wch for wide
diff --git a/Src/Modules/curses.c b/Src/Modules/curses.c
index 273bb9e19..0ea43f1c1 100644
--- a/Src/Modules/curses.c
+++ b/Src/Modules/curses.c
@@ -696,7 +696,7 @@ zccmd_input(const char *nam, char **args)
     VARARR(char, instr, 2*MB_CUR_MAX+1);
 #else
     int ci;
-    instr[3];
+    char instr[3];
 #endif
 
     node = zcurses_validate_window(args[0], ZCURSES_USED);