diff options
| author | Kenichi Handa | 2002-10-16 02:14:49 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2002-10-16 02:14:49 +0000 |
| commit | 78b82cca67b181f120df09732942b7f47b547c40 (patch) | |
| tree | 09fa5565026c4aa66f6401eb915b7f51e9cb71d3 /src/coding.c | |
| parent | 9b3b32110d448d913e6e6c9f58f16139b0625750 (diff) | |
| download | emacs-78b82cca67b181f120df09732942b7f47b547c40.tar.gz emacs-78b82cca67b181f120df09732942b7f47b547c40.zip | |
(detect_coding): Fix previous change.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index 7bfcb6fc2fd..58fe2a86fc9 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -5070,7 +5070,10 @@ detect_coding (coding) | |||
| 5070 | detected |= detected_mask[category]; | 5070 | detected |= detected_mask[category]; |
| 5071 | if ((*(this->detector)) (coding, &mask) | 5071 | if ((*(this->detector)) (coding, &mask) |
| 5072 | && (mask & (1 << category))) | 5072 | && (mask & (1 << category))) |
| 5073 | break; | 5073 | { |
| 5074 | mask = 1 << category; | ||
| 5075 | break; | ||
| 5076 | } | ||
| 5074 | } | 5077 | } |
| 5075 | } | 5078 | } |
| 5076 | if (! mask) | 5079 | if (! mask) |