summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/locale.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/locale.c')
-rw-r--r--newlib/libc/locale/locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index e93f78021..b5a0ee74c 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -468,7 +468,7 @@ loadlocale(struct _reent *p, int category)
if (!strcmp (charset, "EUCJP") || !strcmp (charset, "eucJP"))
{
strcpy (charset, "EUCJP");
- mbc_max = 2;
+ mbc_max = 3;
#ifdef _MB_CAPABLE
l_wctomb = __eucjp_wctomb;
l_mbtowc = __eucjp_mbtowc;