Merge branch 'bug/cygwin-lang'

This commit is contained in:
Tatsuya Kinoshita
2013-10-14 09:18:07 +09:00

View File

@@ -237,9 +237,9 @@ check_cygwin_console(void)
isLocalConsole = 1; isLocalConsole = 1;
} }
} }
if ((ctype = getenv("LC_ALL") || if (((ctype = getenv("LC_ALL")) ||
ctype = getenv("LC_CTYPE") || (ctype = getenv("LC_CTYPE")) ||
ctype = getenv("LANG")) && strncmp(ctype, "ja", 2) == 0) { (ctype = getenv("LANG"))) && strncmp(ctype, "ja", 2) == 0) {
isWinConsole = TERM_CYGWIN_RESERVE_IME; isWinConsole = TERM_CYGWIN_RESERVE_IME;
} }
#ifdef SUPPORT_WIN9X_CONSOLE_MBCS #ifdef SUPPORT_WIN9X_CONSOLE_MBCS