comparison src/coding.c @ 36649:5dc88f9ab0ef

(detect_coding_mask): Fix the incorrect handling of arg MULTIBYTEP.
author Kenichi Handa <handa@m17n.org>
date Thu, 08 Mar 2001 02:19:18 +0000
parents 0a75ccbe42b2
children a1859dfb6a1b
comparison
equal deleted inserted replaced
36648:b3dfa003ef9b 36649:5dc88f9ab0ef
3978 else 3978 else
3979 { 3979 {
3980 int try; 3980 int try;
3981 3981
3982 if (multibytep && c == LEADING_CODE_8_BIT_CONTROL) 3982 if (multibytep && c == LEADING_CODE_8_BIT_CONTROL)
3983 c = *src++ - 0x20; 3983 c = src[1] - 0x20;
3984 3984
3985 if (c < 0xA0) 3985 if (c < 0xA0)
3986 { 3986 {
3987 /* C is the first byte of SJIS character code, 3987 /* C is the first byte of SJIS character code,
3988 or a leading-code of Emacs' internal format (emacs-mule), 3988 or a leading-code of Emacs' internal format (emacs-mule),