From: tomo Date: Tue, 15 Jun 1999 01:21:59 +0000 (+0000) Subject: (Fmake_string): Add case 5 and 6 for UTF2000. X-Git-Tag: r21-2-15-buf-utf8-1~14 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f7248cb81dae598a232dd558b80e27dd7cbf150;p=chise%2Fxemacs-chise.git- (Fmake_string): Add case 5 and 6 for UTF2000. --- diff --git a/src/alloc.c b/src/alloc.c index 15deca8..a5a3857 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -2070,6 +2070,10 @@ LENGTH must be an integer and INIT must be a character. Bufbyte *init_ptr = init_str; switch (len) { +#ifdef UTF2000 + case 6: *ptr++ = *init_ptr++; + case 5: *ptr++ = *init_ptr++; +#endif case 4: *ptr++ = *init_ptr++; case 3: *ptr++ = *init_ptr++; case 2: *ptr++ = *init_ptr++;