about summary refs log tree commit diff
path: root/Src/Zle/zle_utils.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-02-25 15:10:01 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-02-25 15:10:01 +0000
commitf7ceca4fec16666c16be3f5a68feb9e4b9aeb667 (patch)
tree31defcf0efc43f1fbe7797151da1d1244cb6b139 /Src/Zle/zle_utils.c
parentc7eb5a72f182af5caa04ed83c5b2b680884b7650 (diff)
downloadzsh-f7ceca4fec16666c16be3f5a68feb9e4b9aeb667.tar.gz
zsh-f7ceca4fec16666c16be3f5a68feb9e4b9aeb667.tar.xz
zsh-f7ceca4fec16666c16be3f5a68feb9e4b9aeb667.zip
20869: more small Unicode tweaks
Diffstat (limited to 'Src/Zle/zle_utils.c')
-rw-r--r--Src/Zle/zle_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index 1ccf98938..59cd1be95 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -578,14 +578,14 @@ getzlequery(int yesno)
     if (yesno) {
 	if (c == ZWC('\t'))
 	    c = ZWC('y');
-	else if (icntrl(c) || c == ZLEEOF) /* TODO iswcntrl */
+	else if (ZS_icntrl(c) || c == ZLEEOF)
 	    c = ZWC('n');
 	else
-	    c = tulower(c);	/* TODO tulower doesn't handle wint_t */
+	    c = ZS_tolower(c);
     }
     /* echo response and return */
     if (c != ZWC('\n'))
-	putc(c, shout);		/* TODO: convert to multibyte */
+	zwcputc(c);
     return c;
 }