summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
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;