diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-01 16:37:08 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-05-01 16:37:08 -0700 |
commit | 2f9442b848594799dd155d455930215df2d2a222 (patch) | |
tree | 8d8dbaa70ba3da94202596f36061e01beacc12c3 /src/coding.c | |
parent | 2d38271b704d7a3dc9453a6cda4a2115e6b9a56f (diff) | |
download | emacs-2f9442b848594799dd155d455930215df2d2a222.tar.gz |
* coding.c (detect_coding_charset): Fix typo: * 2 -> *4 (Bug#8601).
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index d17346efdcb..71253df6469 100644 --- a/src/coding.c +++ b/src/coding.c @@ -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) |