changeset 45227:6ce63e0a93f1

(encode_coding_sjis_big5): Enclose bitwise AND in parens, to ensure correct evaluation order.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 10 May 2002 08:51:44 +0000
parents 77e67c428a9f
children 66644e336dd7
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Fri May 10 08:36:08 2002 +0000
+++ b/src/coding.c	Fri May 10 08:51:44 2002 +0000
@@ -3043,7 +3043,7 @@
 	  switch (c)
 	    {
 	    case '\r':
-	      if (!coding->mode & CODING_MODE_SELECTIVE_DISPLAY)
+	      if (!(coding->mode & CODING_MODE_SELECTIVE_DISPLAY))
 		{
 		  EMIT_ONE_BYTE (c);
 		  break;