From: Kenichi Handa Date: Wed, 16 Oct 2002 02:14:49 +0000 (+0000) Subject: (detect_coding): Fix previous change. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~232 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=78b82cca67b181f120df09732942b7f47b547c40;p=emacs.git (detect_coding): Fix previous change. --- 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) detected |= detected_mask[category]; if ((*(this->detector)) (coding, &mask) && (mask & (1 << category))) - break; + { + mask = 1 << category; + break; + } } } if (! mask)