]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_coding_iso_2022): Fix operator precedence.
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 24 Sep 2009 08:18:40 +0000 (08:18 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Thu, 24 Sep 2009 08:18:40 +0000 (08:18 +0000)
src/ChangeLog
src/coding.c

index 9b3447601c062d8e6831837bc2b2ad68c64fd21f..5375574b2a2ff19f507d1fe583369b82ee4ec19a 100644 (file)
@@ -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.
index 388b4b833c49e92f028e8aba61f6630b1529d6b8..405284f778b78788f4e9314d695edbc518cbccbf 100644 (file)
@@ -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