From de59072a63cd58444637c070e91074c281dd1359 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 24 Sep 2009 08:18:40 +0000 Subject: [PATCH] (decode_coding_iso_2022): Fix operator precedence. --- src/ChangeLog | 4 ++++ src/coding.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 9b3447601c0..5375574b2a2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-09-24 Andreas Schwab + + * coding.c (decode_coding_iso_2022): Fix operator precedence. + 2009-09-24 Juanma Barranquero * dired.c (Fdirectory_files): Fix typo in docstring. diff --git a/src/coding.c b/src/coding.c index 388b4b833c4..405284f778b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -3860,7 +3860,7 @@ decode_coding_iso_2022 (coding) continue; case '[': /* specification of direction */ - if (! CODING_ISO_FLAGS (coding) & CODING_ISO_FLAG_DIRECTION) + if (! (CODING_ISO_FLAGS (coding) & CODING_ISO_FLAG_DIRECTION)) goto invalid_code; /* For the moment, nested direction is not supported. So, `coding->mode & CODING_MODE_DIRECTION' zero means -- 2.39.2