Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/ctype/towlower.c')
-rw-r--r--newlib/libc/ctype/towlower.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/ctype/towlower.c b/newlib/libc/ctype/towlower.c
index 5520e3720..a0b03b8c5 100644
--- a/newlib/libc/ctype/towlower.c
+++ b/newlib/libc/ctype/towlower.c
@@ -83,12 +83,12 @@ _DEFUN(towlower,(c), wint_t c)
}
else if (!strcmp (__lc_ctype, "C-SJIS"))
{
- c = __jp2uc (c, JP_JIS);
+ c = __jp2uc (c, JP_SJIS);
unicode = 1;
}
else if (!strcmp (__lc_ctype, "C-EUCJP"))
{
- c = __jp2uc (c, JP_JIS);
+ c = __jp2uc (c, JP_EUCJP);
unicode = 1;
}
else if (!strcmp (__lc_ctype, "C-UTF-8"))