From 6eb74185cdce03440b5bee66697e60bf9ff75943 Mon Sep 17 00:00:00 2001 From: tjr Date: Sat, 9 Nov 2002 05:19:08 +0000 Subject: Use wide character ctype functions directly instead of relying on 4.4BSD extensions to the single-byte ctype functions. --- lib/libc/locale/wctrans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/locale/wctrans.c b/lib/libc/locale/wctrans.c index d5de6f1..94e0664 100644 --- a/lib/libc/locale/wctrans.c +++ b/lib/libc/locale/wctrans.c @@ -47,10 +47,10 @@ towctrans(wint_t wc, wctrans_t desc) switch (desc) { case _WCT_TOLOWER: - wc = tolower(wc); + wc = towlower(wc); break; case _WCT_TOUPPER: - wc = toupper(wc); + wc = towupper(wc); break; case _WCT_ERROR: default: -- cgit v1.1