aboutsummaryrefslogtreecommitdiffstats
path: root/terms.c
diff options
context:
space:
mode:
Diffstat (limited to 'terms.c')
-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