summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-05-10 08:51:44 +0000
committerEli Zaretskii <eliz@gnu.org>2002-05-10 08:51:44 +0000
commit7371fe0a09cf89c4bf6e40aec49410cc98d5dfe9 (patch)
tree23d0c03478dacafcdd1bbed97b6305d32d7e1636 /src/coding.c
parent925c2f3f5e2ff0359bc1f48542026bcf4650236c (diff)
downloademacs-7371fe0a09cf89c4bf6e40aec49410cc98d5dfe9.tar.gz
(encode_coding_sjis_big5): Enclose bitwise AND in
parens, to ensure correct evaluation order.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
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;