mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-19 12:20:17 -08:00
* coding.c (detect_coding_charset): Fix typo: * 2 -> *4 (Bug#8601).
This commit is contained in:
parent
2d38271b70
commit
2f9442b848
2 changed files with 4 additions and 2 deletions
|
|
@ -5368,8 +5368,8 @@ detect_coding_charset (struct coding_system *coding,
|
|||
if (src == src_end)
|
||||
goto too_short;
|
||||
ONE_MORE_BYTE (c);
|
||||
if (c < charset->code_space[(dim - 1 - idx) * 2]
|
||||
|| c > charset->code_space[(dim - 1 - idx) * 2 + 1])
|
||||
if (c < charset->code_space[(dim - 1 - idx) * 4]
|
||||
|| c > charset->code_space[(dim - 1 - idx) * 4 + 1])
|
||||
break;
|
||||
}
|
||||
if (idx < dim)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue