From 01d053099553f404b57f252111797762abc4b527 Mon Sep 17 00:00:00 2001 From: Jarek Czekalski Date: Mon, 14 Oct 2013 09:17:35 +0900 Subject: Fix paren in check_cygwin_console() Bug: https://sourceforge.net/p/w3m/patches/66/ --- terms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'terms.c') diff --git a/terms.c b/terms.c index 4bb46c0..399d117 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 -- cgit v1.2.3