emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100022: coding.c (detect_coding_e


From: Kenichi Handa
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100022: coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the source is multibyte.
Date: Tue, 07 Sep 2010 20:23:04 +0900
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100022 [merge]
committer: Kenichi Handa <address@hidden>
branch nick: emacs-23
timestamp: Tue 2010-09-07 20:23:04 +0900
message:
  coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when 
the source is multibyte.
modified:
  src/ChangeLog
  src/coding.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-08-31 07:49:21 +0000
+++ b/src/ChangeLog     2010-09-07 11:08:46 +0000
@@ -1,3 +1,8 @@
+2010-09-07  Kenichi Handa  <address@hidden>
+
+       * coding.c (detect_coding_emacs_mule): Fix checking of multibyte
+       sequence when the source is multibyte.
+
 2010-08-31  Kenichi Handa  <address@hidden>
 
        * dispextern.h (FACE_FOR_CHAR): Use an ASCII face for 8-bit

=== modified file 'src/coding.c'
--- a/src/coding.c      2010-08-06 08:11:19 +0000
+++ b/src/coding.c      2010-09-07 11:08:46 +0000
@@ -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)
            {


reply via email to

[Prev in Thread] Current Thread [Next in Thread]