Commit bde25748 authored by Kenichi Handa's avatar Kenichi Handa

(Ftranslate_region_internal): Use Fconcat to make a

string from a vector to handle Latin-1 characters correctly.
parent b50504f5
2009-04-17 Kenichi Handa <handa@m17n.org>
* editfns.c (Ftranslate_region_internal): Use Fconcat to make a
string from a vector to handle Latin-1 characters correctly.
* ftfont.c (ftfont_pattern_entity): Return a newly allocated
entity even if the cache hits.
......
......@@ -3147,12 +3147,7 @@ It returns the number of characters changed. */)
if (VECTORP (val))
{
int i;
string = Fmake_string (make_number (ASIZE (val)),
AREF (val, 0));
for (i = 1; i < ASIZE (val); i++)
Faset (string, make_number (i), AREF (val, i));
string = Fconcat (1, &val);
}
else
{
......
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