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:
parent
bf35727df8
commit
f16d510603
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user