[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src coding.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] emacs/src coding.c |
Date: |
Wed, 17 Jun 2009 00:42:08 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kenichi Handa <handa> 09/06/17 00:42:08
Modified files:
src : coding.c
Log message:
(detect_coding_utf_16): Fix previous change.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/coding.c?cvsroot=emacs&r1=1.433&r2=1.434
Patches:
Index: coding.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/coding.c,v
retrieving revision 1.433
retrieving revision 1.434
diff -u -b -r1.433 -r1.434
--- coding.c 16 Jun 2009 01:59:44 -0000 1.433
+++ coding.c 17 Jun 2009 00:42:07 -0000 1.434
@@ -1669,7 +1669,8 @@
|CATEGORY_MASK_UTF_16_BE
| CATEGORY_MASK_UTF_16_LE);
- while (detect_info->rejected != CATEGORY_MASK_UTF_16)
+ while ((detect_info->rejected & CATEGORY_MASK_UTF_16)
+ != CATEGORY_MASK_UTF_16)
{
TWO_MORE_BYTES (c1, c2);
if (c2 < 0)