diff options
Diffstat (limited to 'newlib/libc/ctype/towupper.c')
-rw-r--r-- | newlib/libc/ctype/towupper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/ctype/towupper.c b/newlib/libc/ctype/towupper.c index 8fc2848e5..b14e5aa07 100644 --- a/newlib/libc/ctype/towupper.c +++ b/newlib/libc/ctype/towupper.c @@ -83,12 +83,12 @@ _DEFUN(towupper,(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")) |