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/iswprint.c')
-rw-r--r--newlib/libc/ctype/iswprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/ctype/iswprint.c b/newlib/libc/ctype/iswprint.c
index c30938f2e..5acba9cd7 100644
--- a/newlib/libc/ctype/iswprint.c
+++ b/newlib/libc/ctype/iswprint.c
@@ -82,12 +82,12 @@ _DEFUN(iswprint,(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"))