From: Kenichi Handa Date: Tue, 7 Sep 2010 11:08:46 +0000 (+0900) Subject: coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the... X-Git-Tag: emacs-pretest-23.2.90~135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=396475b7c1ae2e1a5b1d4be68e6b5b0819a7695b;p=emacs.git coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the source is multibyte. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8a0b1b094ba..3dda03c963f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-09-07 Kenichi Handa + + * coding.c (detect_coding_emacs_mule): Fix checking of multibyte + sequence when the source is multibyte. + 2010-08-31 Kenichi Handa * dispextern.h (FACE_FOR_CHAR): Use an ASCII face for 8-bit diff --git a/src/coding.c b/src/coding.c index aef80f5cc80..d62998f4c8b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -2031,7 +2031,7 @@ detect_coding_emacs_mule (coding, detect_info) } else { - int more_bytes = emacs_mule_bytes[*src_base] - 1; + int more_bytes = emacs_mule_bytes[c] - 1; while (more_bytes > 0) {