about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-11-12 09:43:54 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-11-12 09:43:54 +0000
commitbd6f46103aacc67c3fffa9c096070a05fa3f0812 (patch)
tree6c0adcd9c503efe91018ac57c187496f7f94a65a
parent17cfd4455b8c57df2c7f542c11b5713b0c70e2c3 (diff)
downloadzsh-bd6f46103aacc67c3fffa9c096070a05fa3f0812.tar.gz
zsh-bd6f46103aacc67c3fffa9c096070a05fa3f0812.tar.xz
zsh-bd6f46103aacc67c3fffa9c096070a05fa3f0812.zip
Vin Shelton: 24088: error with no multibyte
-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