changeset 105179:8143cdf4806f

(decode_coding_iso_2022): Fix operator precedence.
author Andreas Schwab <schwab@linux-m68k.org>
date Thu, 24 Sep 2009 08:18:40 +0000
parents d0f5b10b5fb4
children 112414938e89
files src/ChangeLog src/coding.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Sep 24 03:26:51 2009 +0000
+++ b/src/ChangeLog	Thu Sep 24 08:18:40 2009 +0000
@@ -1,3 +1,7 @@
+2009-09-24  Andreas Schwab  <schwab@redhat.com>
+
+	* coding.c (decode_coding_iso_2022): Fix operator precedence.
+
 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
 
 	* dired.c (Fdirectory_files): Fix typo in docstring.
--- a/src/coding.c	Thu Sep 24 03:26:51 2009 +0000
+++ b/src/coding.c	Thu Sep 24 08:18:40 2009 +0000
@@ -3860,7 +3860,7 @@
 	      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