X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Falloc.c;h=b01489cc2a8ba5f7949b4a1bbf367928d4dab138;hb=c055fb9d54088bf2dff25f6be1a033ff0cea5f92;hp=610efa433b0c8bb84dbc4c840ffa93eb996ec17c;hpb=937bb3ce20f4819a75e8234cb91a1acaa19847f8;p=chise%2Fxemacs-chise.git- diff --git a/src/alloc.c b/src/alloc.c index 610efa4..b01489c 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -2087,6 +2087,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++;