about summary refs log tree commit diff
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-13 13:19:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-13 13:19:29 +0000
commitcc81bba1e34b4a7a357b6a7e6ec1d4eede4ffa61 (patch)
tree822d9fa5a49b0fda14697073c3687b8641bf7c51 /Src/Zle/complist.c
parentcca66ab341ffa330908aa6ea8da03e991aa6903c (diff)
downloadzsh-cc81bba1e34b4a7a357b6a7e6ec1d4eede4ffa61.tar.gz
zsh-cc81bba1e34b4a7a357b6a7e6ec1d4eede4ffa61.tar.xz
zsh-cc81bba1e34b4a7a357b6a7e6ec1d4eede4ffa61.zip
21870: bad INULL() definition
21869: multibyte characters in %-substitutions, invalid multibyte
characters in completion listings
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index b13932e24..e0ee806bb 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -599,7 +599,7 @@ clnicezputs(Listcols colors, char *s, int ml)
 	     * an input NULL, which we want to be a real character
 	     * rather than terminator.
 	     */
-	    sptr = nicechar(*s);
+	    sptr = nicechar(*uptr);
 	    /* everything here is ASCII... */
 	    width = strlen(sptr);
 	    wptr = sptr + width;