comparison src/casefiddle.c @ 24883:59b74d3add13

(casify_object): Use make_multibyte_string if we casify a multibyte string.
author Karl Heuer <kwzh@gnu.org>
date Thu, 24 Jun 1999 18:01:32 +0000
parents a1abe3ae2cd0
children 4065a85ee695
comparison
equal deleted inserted replaced
24882:3a17c21ea615 24883:59b74d3add13
125 i += fromlen; 125 i += fromlen;
126 j_byte += tolen; 126 j_byte += tolen;
127 if ((int) flag >= (int) CASE_CAPITALIZE) 127 if ((int) flag >= (int) CASE_CAPITALIZE)
128 inword = SYNTAX (c) == Sword; 128 inword = SYNTAX (c) == Sword;
129 } 129 }
130 obj = make_string (buf, j_byte); 130 obj = make_multibyte_string (buf, XSTRING (obj)->size,
131 j_byte);
131 } 132 }
132 return obj; 133 return obj;
133 } 134 }
134 obj = wrong_type_argument (Qchar_or_string_p, obj); 135 obj = wrong_type_argument (Qchar_or_string_p, obj);
135 } 136 }