From 78b82cca67b181f120df09732942b7f47b547c40 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 16 Oct 2002 02:14:49 +0000 Subject: [PATCH] (detect_coding): Fix previous change. --- src/coding.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.39.2