# HG changeset patch # User Kenichi Handa # Date 1283858584 -32400 # Node ID 08056547de92f85a5c8f11bf5637404a5af2a1bb # Parent 0a214cbe7bf3e18e5b6b17e60ccfbb65457978a6# Parent f226899b26ca45e26411d9fff3c95477e595a2ef coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the source is multibyte. diff -r 0a214cbe7bf3 -r 08056547de92 src/ChangeLog --- a/src/ChangeLog Mon Sep 06 12:24:59 2010 -0400 +++ b/src/ChangeLog Tue Sep 07 20:23:04 2010 +0900 @@ -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 -r 0a214cbe7bf3 -r 08056547de92 src/coding.c --- a/src/coding.c Mon Sep 06 12:24:59 2010 -0400 +++ b/src/coding.c Tue Sep 07 20:23:04 2010 +0900 @@ -2031,7 +2031,7 @@ } else { - int more_bytes = emacs_mule_bytes[*src_base] - 1; + int more_bytes = emacs_mule_bytes[c] - 1; while (more_bytes > 0) {