about summary refs log tree commit diff
diff options
context:
space:
mode:
-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);