Commit 0e17387a authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(detect_coding_utf_8): Set detect_info->found only when

non-ASCII char is found.
parent 41fa3e2c
2008-07-09 Kenichi Handa <handa@m17n.org>
* coding.c (detect_coding_utf_8): Set detect_info->found only when
non-ASCII char is found.
* fontset.c (fontset_compare_rfontdef): Fix plus/minus.
(reorder_font_vector): Change the arg preferred_family to font.
Prefer the spec matching with font.
......
......@@ -1310,7 +1310,8 @@ detect_coding_utf_8 (coding, detect_info)
else
{
detect_info->rejected |= CATEGORY_MASK_UTF_8_SIG;
detect_info->found |= CATEGORY_MASK_UTF_8_NOSIG;
if (found)
detect_info->found |= CATEGORY_MASK_UTF_8_NOSIG;
}
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment