about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-01-13 17:13:49 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-01-13 17:13:49 +0000
commit78ddb65f6c7ac4bd580be5a7987bf31f697558df (patch)
treec7a0958d5e0b6a72cb4bcf0053a443ecb05a4f16 /Src/Zle
parentfb658381f9b9d9619c0eea3040bc51916fcc4213 (diff)
downloadzsh-78ddb65f6c7ac4bd580be5a7987bf31f697558df.tar.gz
zsh-78ddb65f6c7ac4bd580be5a7987bf31f697558df.tar.xz
zsh-78ddb65f6c7ac4bd580be5a7987bf31f697558df.zip
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).
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/complist.c2
-rw-r--r--Src/Zle/zle_utils.c2
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;