aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa2002-10-16 02:14:49 +0000
committerKenichi Handa2002-10-16 02:14:49 +0000
commit78b82cca67b181f120df09732942b7f47b547c40 (patch)
tree09fa5565026c4aa66f6401eb915b7f51e9cb71d3 /src/coding.c
parent9b3b32110d448d913e6e6c9f58f16139b0625750 (diff)
downloademacs-78b82cca67b181f120df09732942b7f47b547c40.tar.gz
emacs-78b82cca67b181f120df09732942b7f47b547c40.zip
(detect_coding): Fix previous change.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c5
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)