From: Eli Zaretskii Date: Fri, 10 May 2002 08:51:44 +0000 (+0000) Subject: (encode_coding_sjis_big5): Enclose bitwise AND in X-Git-Tag: ttn-vms-21-2-B4~15110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7371fe0a09cf89c4bf6e40aec49410cc98d5dfe9;p=emacs.git (encode_coding_sjis_big5): Enclose bitwise AND in parens, to ensure correct evaluation order. --- diff --git a/src/coding.c b/src/coding.c index 2a1fc1309f1..8c54f86e531 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;