projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output: Add support for fonts.
[pspp]
/
src
/
output
/
table-item.c
diff --git
a/src/output/table-item.c
b/src/output/table-item.c
index 645d8ca45f71c8387e675c6f518dce71937d8cd7..d2d3ea54abc79bfe287ad72c8e2fe691c27241d3 100644
(file)
--- a/
src/output/table-item.c
+++ b/
src/output/table-item.c
@@
-51,6
+51,7
@@
table_item_text_clone (const struct table_item_text *old)
.footnotes = xmemdup (old->footnotes,
old->n_footnotes * sizeof *old->footnotes),
.n_footnotes = old->n_footnotes,
.footnotes = xmemdup (old->footnotes,
old->n_footnotes * sizeof *old->footnotes),
.n_footnotes = old->n_footnotes,
+ .style = cell_style_clone (old->style),
};
return new;
}
};
return new;
}
@@
-62,6
+63,7
@@
table_item_text_destroy (struct table_item_text *text)
{
free (text->content);
free (text->footnotes);
{
free (text->content);
free (text->footnotes);
+ cell_style_free (text->style);
free (text);
}
}
free (text);
}
}