diff options
author | Jarek Czekalski <jarekczek@poczta.onet.pl> | 2013-10-14 00:17:35 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-10-14 00:17:35 +0000 |
commit | 01d053099553f404b57f252111797762abc4b527 (patch) | |
tree | f9f9f021f79bec1ff687d6ccec8bc888b5c8d297 /terms.c | |
parent | Do not fail when LANG is not set (diff) | |
download | w3m-01d053099553f404b57f252111797762abc4b527.tar.gz w3m-01d053099553f404b57f252111797762abc4b527.zip |
Fix paren in check_cygwin_console()
Bug: https://sourceforge.net/p/w3m/patches/66/
Diffstat (limited to '')
-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 |