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