X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable.c;h=f909bf3ade90f925be4b13f70762a8a3ee0c8c1b;hb=e6bb779b866f297b736a7f93a0c8aa741131726f;hp=b83d66fb20898ccf6148198cb61dc114e9a06f07;hpb=d523d6fa44e79bbca2b2cce792a7f25cca0d3aef;p=pspp diff --git a/src/output/table.c b/src/output/table.c index b83d66fb20..f909bf3ade 100644 --- a/src/output/table.c +++ b/src/output/table.c @@ -135,8 +135,8 @@ cell_style_clone (struct pool *pool, const struct cell_style *old) { 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; } @@ -145,7 +145,7 @@ cell_style_free (struct cell_style *style) { if (style) { - free (style->font); + free (style->typeface); free (style); } }