From: Eli Zaretskii Date: Fri, 10 May 2002 08:57:31 +0000 (+0000) Subject: (encode_coding_sjis_big5): Enclose bitwise AND in X-Git-Tag: emacs-pretest-21.2.91~279 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ace725049ec5b9403675585824fd7eed24ca8583;p=emacs.git (encode_coding_sjis_big5): Enclose bitwise AND in parens, to ensure correct evaluation order. --- diff --git a/src/ChangeLog b/src/ChangeLog index b75c98c6fd6..b01580f0af7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-05-10 Eli Zaretskii + + * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in + parens, to ensure correct evaluation order. + 2002-05-07 Eli Zaretskii * fileio.c (read_non_regular): Remove an extraneous call to Fsignal. diff --git a/src/coding.c b/src/coding.c index 2e3411838a8..0682b43f57d 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;