]> git.eshelyaron.com Git - emacs.git/commitdiff
(encode_coding_sjis_big5): Enclose bitwise AND in
authorEli Zaretskii <eliz@gnu.org>
Fri, 10 May 2002 08:57:31 +0000 (08:57 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 10 May 2002 08:57:31 +0000 (08:57 +0000)
parens, to ensure correct evaluation order.

src/ChangeLog
src/coding.c

index b75c98c6fd664480cedef89067f3ee46e09e4c5b..b01580f0af70cccf39a992ed77a76e0436ae2a9b 100644 (file)
@@ -1,3 +1,8 @@
+2002-05-10  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in
+       parens, to ensure correct evaluation order.
+
 2002-05-07  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * fileio.c (read_non_regular): Remove an extraneous call to Fsignal.
index 2e3411838a82207ca7ae86dd7eaad210f6de1b3a..0682b43f57dda781bed94e8b75fe0073eaedd447 100644 (file)
@@ -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;