diff options
| author | Paul Eggert | 2011-05-02 22:46:00 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-02 22:46:00 -0700 |
| commit | 79f5556a7a75ed21c4fafa04f02adb81822a57f9 (patch) | |
| tree | a614d9543bb0509274564217a633aac3cb273421 /src/coding.c | |
| parent | 48e400f07d5a37b8ab7a75f758b61fb6440cedd8 (diff) | |
| parent | 2f9442b848594799dd155d455930215df2d2a222 (diff) | |
| download | emacs-79f5556a7a75ed21c4fafa04f02adb81822a57f9.tar.gz emacs-79f5556a7a75ed21c4fafa04f02adb81822a57f9.zip | |
Merge: Fixes for Bug#8600 and 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, | |||
| 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) |