]> 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:51:44 +0000 (08:51 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 10 May 2002 08:51:44 +0000 (08:51 +0000)
parens, to ensure correct evaluation order.

src/coding.c

index 2a1fc1309f1e6b52b69ddbdb59f939393bf0e7a9..8c54f86e531618040899cc683a321b6b1d2aea09 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;