From f7ceca4fec16666c16be3f5a68feb9e4b9aeb667 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 25 Feb 2005 15:10:01 +0000 Subject: 20869: more small Unicode tweaks --- Src/Zle/zle_utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Src/Zle/zle_utils.c') 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; } -- cgit v1.2.3