aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-10-14 00:18:07 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-10-14 00:18:07 +0000
commit9330f2393b2551e29e72d167f55e4576878314a4 (patch)
tree97beab498f81fa6225c6f60eb42f0c49a2d9a954
parentMerge branch 'bug/changelog' (diff)
parentFix paren in check_cygwin_console() (diff)
downloadw3m-9330f2393b2551e29e72d167f55e4576878314a4.tar.gz
w3m-9330f2393b2551e29e72d167f55e4576878314a4.zip
Merge branch 'bug/cygwin-lang'
Diffstat (limited to '')
-rw-r--r--terms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/terms.c b/terms.c
index 9798ae1..ca81d28 100644
--- a/terms.c
+++ b/terms.c
@@ -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