{
struct cell_style *new = pool_malloc (pool, sizeof *new);
*new = *old;
- if (new->font)
- new->font = pool_strdup (pool, new->font);
+ if (new->typeface)
+ new->typeface = pool_strdup (pool, new->typeface);
return new;
}
{
if (style)
{
- free (style->font);
+ free (style->typeface);
free (style);
}
}