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 c4fd5e35b..052e9e7da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-12  Peter Stephenson  <pws@csr.com>
+
+	* Vin Shelton: 24088: Src/Modules/curses.c: 24083 error with
+	no multibyte.
+
 2007-11-11  Clint Adams  <clint@zsh.org>
 
 	* Nikolai Weibull: 24046: Completion/Unix/Command/_strip: improve
diff --git a/Src/Modules/curses.c b/Src/Modules/curses.c
index ff6aff12c..37d5b5283 100644
--- a/Src/Modules/curses.c
+++ b/Src/Modules/curses.c
@@ -1331,10 +1331,10 @@ zccmd_querychar(const char *nam, char **args)
     Colorpairnode cpn;
     const struct zcurses_namenumberpair *zattrp;
     LinkList clist;
+    attr_t attrs;
 #if defined(HAVE_WIN_WCH) && defined(HAVE_GETCCHAR)
     wchar_t c;
     cchar_t cc;
-    attr_t attrs;
     int count;
     VARARR(char, instr, 2*MB_CUR_MAX+1);
 #else