- if (val == NULL)
- st_bare_pad_len_copy (c->data[v->dest->fv].s,
- c->data[v->src->fv].c,
- v->dest->width, v->src->width);
+ if (val == NULL)
+ {
+ if (v->dest->fv != v->src->fv)
+ buf_copy_rpad (case_data_rw (c, v->dest->fv)->s,
+ v->dest->width,
+ case_str (c, v->src->fv), v->src->width);
+ }