diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-10-14 00:18:07 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-10-14 00:18:07 +0000 |
commit | 9330f2393b2551e29e72d167f55e4576878314a4 (patch) | |
tree | 97beab498f81fa6225c6f60eb42f0c49a2d9a954 | |
parent | Merge branch 'bug/changelog' (diff) | |
parent | Fix paren in check_cygwin_console() (diff) | |
download | w3m-9330f2393b2551e29e72d167f55e4576878314a4.tar.gz w3m-9330f2393b2551e29e72d167f55e4576878314a4.zip |
Merge branch 'bug/cygwin-lang'
-rw-r--r-- | terms.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -237,9 +237,9 @@ check_cygwin_console(void) isLocalConsole = 1; } } - if ((ctype = getenv("LC_ALL") || - ctype = getenv("LC_CTYPE") || - ctype = getenv("LANG")) && strncmp(ctype, "ja", 2) == 0) { + if (((ctype = getenv("LC_ALL")) || + (ctype = getenv("LC_CTYPE")) || + (ctype = getenv("LANG"))) && strncmp(ctype, "ja", 2) == 0) { isWinConsole = TERM_CYGWIN_RESERVE_IME; } #ifdef SUPPORT_WIN9X_CONSOLE_MBCS |