From 78ddb65f6c7ac4bd580be5a7987bf31f697558df Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 13 Jan 2006 17:13:49 +0000 Subject: Got rid of some superfluous STOUC() calls (such as the ones I added for the arg of calls to nicechar(), which doesn't need this). --- Src/Zle/complist.c | 2 +- Src/Zle/zle_utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Zle') 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; -- cgit 1.4.1