diff options
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/coding.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <handa@m17n.org> + + * coding.c (detect_coding_emacs_mule): Fix checking of multibyte + sequence when the source is multibyte. + 2010-08-31 Kenichi Handa <handa@m17n.org> * 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) { |
