summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-06-15 21:36:44 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2009-06-15 21:36:44 +0000
commit977b85f4d91050c0e35bcd88768d906c1df25af7 (patch)
tree1f6ae3d0b6f9a152bf0ec7e4820d9e0d3789739e /src/coding.c
parent37438e77c2615baa2066be57e09d7cfe9ec709a3 (diff)
downloademacs-977b85f4d91050c0e35bcd88768d906c1df25af7.tar.gz
(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)
}
if (! o[c2])
{
- o[c1] = 1;
+ o[c2] = 1;
o_num++;
if (o_num >= 128)
break;