return NULL;
struct table_item_text *text = xmalloc (sizeof *text);
- *text = (struct table_item_text) { .content = xstrdup (content) };
+ *text = (struct table_item_text) { .content = xstrdup (content),
+ .halign = TAB_LEFT };
return text;
}
.footnotes = xmemdup (old->footnotes,
old->n_footnotes * sizeof *old->footnotes),
.n_footnotes = old->n_footnotes,
- .style = cell_style_clone (old->style),
+ .style = cell_style_clone (NULL, old->style),
+ .halign = old->halign,
};
return new;
}