From: Karl Heuer Date: Thu, 24 Jun 1999 18:01:32 +0000 (+0000) Subject: (casify_object): Use make_multibyte_string X-Git-Tag: emacs-20.4~66 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f16d5106031d384534045adacb2a282c8b1f027e;p=emacs.git (casify_object): Use make_multibyte_string if we casify a multibyte string. --- diff --git a/src/casefiddle.c b/src/casefiddle.c index 2b14cd17d34..c8ebd0e52bc 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c @@ -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; }