aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2010-09-07 20:08:46 +0900
committerKenichi Handa2010-09-07 20:08:46 +0900
commit396475b7c1ae2e1a5b1d4be68e6b5b0819a7695b (patch)
tree42e296d0229312421dddb87c7772aa8e222d8276 /src
parentd419e1d94e885388b86f8753d741befa1855d333 (diff)
downloademacs-396475b7c1ae2e1a5b1d4be68e6b5b0819a7695b.tar.gz
emacs-396475b7c1ae2e1a5b1d4be68e6b5b0819a7695b.zip
coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the source is multibyte.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/coding.c2
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 @@
12010-09-07 Kenichi Handa <handa@m17n.org>
2
3 * coding.c (detect_coding_emacs_mule): Fix checking of multibyte
4 sequence when the source is multibyte.
5
12010-08-31 Kenichi Handa <handa@m17n.org> 62010-08-31 Kenichi Handa <handa@m17n.org>
2 7
3 * dispextern.h (FACE_FOR_CHAR): Use an ASCII face for 8-bit 8 * 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)
2031 } 2031 }
2032 else 2032 else
2033 { 2033 {
2034 int more_bytes = emacs_mule_bytes[*src_base] - 1; 2034 int more_bytes = emacs_mule_bytes[c] - 1;
2035 2035
2036 while (more_bytes > 0) 2036 while (more_bytes > 0)
2037 { 2037 {