From 7371fe0a09cf89c4bf6e40aec49410cc98d5dfe9 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 10 May 2002 08:51:44 +0000 Subject: [PATCH] (encode_coding_sjis_big5): Enclose bitwise AND in parens, to ensure correct evaluation order. --- src/coding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coding.c b/src/coding.c index 2a1fc1309f..8c54f86e53 100644 --- a/src/coding.c +++ b/src/coding.c @@ -3043,7 +3043,7 @@ encode_coding_sjis_big5 (coding, source, destination, switch (c) { case '\r': - if (!coding->mode & CODING_MODE_SELECTIVE_DISPLAY) + if (!(coding->mode & CODING_MODE_SELECTIVE_DISPLAY)) { EMIT_ONE_BYTE (c); break; -- 2.20.1