diff options
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/complist.c | 2 | ||||
-rw-r--r-- | Src/Zle/zle_utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 9e633e64f..e380f5762 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -598,7 +598,7 @@ clnicezputs(Listcols colors, char *s, int ml) case MB_INVALID: /* This handles byte values that aren't valid wide-character * sequences. */ - sptr = nicechar(STOUC(*uptr)); + sptr = nicechar(*uptr); /* everything here is ASCII... */ width = strlen(sptr); wptr = sptr + width; diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c index 517661777..2c92c955e 100644 --- a/Src/Zle/zle_utils.c +++ b/Src/Zle/zle_utils.c @@ -814,7 +814,7 @@ showmsg(char const *msg) * prettified. */ memset(&mbs, 0, sizeof mbs); - n = nicechar(STOUC(*p)); + n = nicechar(*p); cnt = 1; width = strlen(n); break; |