1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 12:20:17 -08:00

(detect_coding_utf_16): Fix typo counting odd bytes.

This commit is contained in:
Andreas Schwab 2009-06-15 21:36:44 +00:00
parent 37438e77c2
commit 977b85f4d9
2 changed files with 5 additions and 1 deletions

View file

@ -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;