aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Schwab2009-06-15 21:36:44 +0000
committerAndreas Schwab2009-06-15 21:36:44 +0000
commit977b85f4d91050c0e35bcd88768d906c1df25af7 (patch)
tree1f6ae3d0b6f9a152bf0ec7e4820d9e0d3789739e /src
parent37438e77c2615baa2066be57e09d7cfe9ec709a3 (diff)
downloademacs-977b85f4d91050c0e35bcd88768d906c1df25af7.tar.gz
emacs-977b85f4d91050c0e35bcd88768d906c1df25af7.zip
(detect_coding_utf_16): Fix typo counting odd bytes.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/coding.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 373341d39ae..bc4ce2aa0af 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12009-06-15 Andreas Schwab <schwab@linux-m68k.org>
2
3 * coding.c (detect_coding_utf_16): Fix typo counting odd bytes.
4
12009-06-15 Kenichi Handa <handa@m17n.org> 52009-06-15 Kenichi Handa <handa@m17n.org>
2 6
3 * process.c (status_message): Fix previous change. Be sure to 7 * process.c (status_message): Fix previous change. Be sure to
diff --git a/src/coding.c b/src/coding.c
index aeb2b355493..8c43929693e 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -1682,7 +1682,7 @@ detect_coding_utf_16 (coding, detect_info)
1682 } 1682 }
1683 if (! o[c2]) 1683 if (! o[c2])
1684 { 1684 {
1685 o[c1] = 1; 1685 o[c2] = 1;
1686 o_num++; 1686 o_num++;
1687 if (o_num >= 128) 1687 if (o_num >= 128)
1688 break; 1688 break;