summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_utils.c
diff options
context:
space:
mode:
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;
}