aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorPaul Eggert2011-05-01 16:37:08 -0700
committerPaul Eggert2011-05-01 16:37:08 -0700
commit2f9442b848594799dd155d455930215df2d2a222 (patch)
tree8d8dbaa70ba3da94202596f36061e01beacc12c3 /src/coding.c
parent2d38271b704d7a3dc9453a6cda4a2115e6b9a56f (diff)
downloademacs-2f9442b848594799dd155d455930215df2d2a222.tar.gz
emacs-2f9442b848594799dd155d455930215df2d2a222.zip
* coding.c (detect_coding_charset): Fix typo: * 2 -> *4 (Bug#8601).
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
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,
5368 if (src == src_end) 5368 if (src == src_end)
5369 goto too_short; 5369 goto too_short;
5370 ONE_MORE_BYTE (c); 5370 ONE_MORE_BYTE (c);
5371 if (c < charset->code_space[(dim - 1 - idx) * 2] 5371 if (c < charset->code_space[(dim - 1 - idx) * 4]
5372 || c > charset->code_space[(dim - 1 - idx) * 2 + 1]) 5372 || c > charset->code_space[(dim - 1 - idx) * 4 + 1])
5373 break; 5373 break;
5374 } 5374 }
5375 if (idx < dim) 5375 if (idx < dim)