diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-08-10 13:21:15 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-08-10 13:21:15 +0000 |
commit | eb094067875ba06f182c7850d5592bd3c71cc56a (patch) | |
tree | 9928c167a38a22559dc795a585d7473433a4d00d /Src | |
parent | 4fe6b1a1fc223a168fc3058bcd91324610274d7f (diff) | |
download | zsh-eb094067875ba06f182c7850d5592bd3c71cc56a.tar.gz zsh-eb094067875ba06f182c7850d5592bd3c71cc56a.tar.xz zsh-eb094067875ba06f182c7850d5592bd3c71cc56a.zip |
21593: character arrays wrongly declared with ZLE_UNICODE_SUPPORT
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/complist.c | 2 | ||||
-rw-r--r-- | Src/Zle/zle_refresh.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 005e5540a..4290f5f6d 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1865,7 +1865,7 @@ msearch(Cmatch **ptr, int ins, int back, int rep, int *wrapp) { #ifdef ZLE_UNICODE_SUPPORT /* MB_CUR_MAX may not be constant */ - VARARR(char *, s, MB_CUR_MAX+1); + VARARR(char, s, MB_CUR_MAX+1); #else char s[2]; #endif diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c index da9fe45b7..92e76cb3c 100644 --- a/Src/Zle/zle_refresh.c +++ b/Src/Zle/zle_refresh.c @@ -1207,7 +1207,7 @@ singlerefresh(ZLE_STRING_T tmpline, int tmpll, int tmpcs) #ifdef ZLE_UNICODE_SUPPORT ZLE_STRING_T lpwbuf, lpwp; /* converted lprompt and pointer */ char *lpptr, /* pointer into multibyte lprompt */ - lpend; /* end of multibyte lprompt */ + *lpend; /* end of multibyte lprompt */ mbstate_t ps; /* shift state */ #endif |