1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-24 19:03:29 +00:00

(casify_object): Use make_multibyte_string

if we casify a multibyte string.
This commit is contained in:
Karl Heuer 1999-06-24 18:01:32 +00:00
parent bf35727df8
commit f16d510603

View File

@ -127,7 +127,8 @@ casify_object (flag, obj)
if ((int) flag >= (int) CASE_CAPITALIZE)
inword = SYNTAX (c) == Sword;
}
obj = make_string (buf, j_byte);
obj = make_multibyte_string (buf, XSTRING (obj)->size,
j_byte);
}
return obj;
}