comparison src/alloc.c @ 26837:bb9ada50010f

(Fmake_string): Adjusted for the change of CHAR_STRING.
author Kenichi Handa <handa@m17n.org>
date Wed, 15 Dec 1999 00:01:44 +0000
parents cbf297593a79
children d6d99ee4a5ae
comparison
equal deleted inserted replaced
26836:7c90254477b0 26837:bb9ada50010f
1255 while (p != end) 1255 while (p != end)
1256 *p++ = c; 1256 *p++ = c;
1257 } 1257 }
1258 else 1258 else
1259 { 1259 {
1260 unsigned char work[4], *str; 1260 unsigned char str[4];
1261 int len = CHAR_STRING (c, work, str); 1261 int len = CHAR_STRING (c, str);
1262 1262
1263 nbytes = len * XINT (length); 1263 nbytes = len * XINT (length);
1264 val = make_uninit_multibyte_string (XINT (length), nbytes); 1264 val = make_uninit_multibyte_string (XINT (length), nbytes);
1265 p = XSTRING (val)->data; 1265 p = XSTRING (val)->data;
1266 end = p + nbytes; 1266 end = p + nbytes;