summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-08-22 09:25:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-08-22 09:25:32 +0000
commit55b7a07a7ec62cd2456b651cabf819e4384f73b0 (patch)
tree3759f1e8b68989c2ce7d886131df968dc00848a4 /Src/Zle
parent4cff29774e018733b4857b89326855d222e068a0 (diff)
downloadzsh-55b7a07a7ec62cd2456b651cabf819e4384f73b0.tar.gz
zsh-55b7a07a7ec62cd2456b651cabf819e4384f73b0.tar.xz
zsh-55b7a07a7ec62cd2456b651cabf819e4384f73b0.zip
23791: use VARARR for MB_CUR_MAX
users/11791: remove mysterious comment around emulate -L zsh in
incremental-complete-word
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_refresh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index 6c14b773d..a936a1399 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -179,9 +179,9 @@ void
 zwcputc(ZLE_INT_T c)
 {
 #ifdef MULTIBYTE_SUPPORT
-    char mbtmp[MB_CUR_MAX + 1];
     mbstate_t mbstate;
     int i;
+    VARARR(char, mbtmp, MB_CUR_MAX + 1);
 
     if (c == WEOF)
 	return;