aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
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/coding.c
parent37438e77c2615baa2066be57e09d7cfe9ec709a3 (diff)
downloademacs-977b85f4d91050c0e35bcd88768d906c1df25af7.tar.gz
emacs-977b85f4d91050c0e35bcd88768d906c1df25af7.zip
(detect_coding_utf_16): Fix typo counting odd bytes.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
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;