projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def6f19
)
pivot-table: Fix cut and paste error in pivot_value_clone().
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 9 Jan 2021 05:24:13 +0000
(21:24 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 9 Jan 2021 05:24:13 +0000
(21:24 -0800)
src/output/pivot-table.c
patch
|
blob
|
history
diff --git
a/src/output/pivot-table.c
b/src/output/pivot-table.c
index b3d6c399dae6ccd142559837252e887f16d75286..5bcc6dc7ccc2ff5a170b53af99155b23d68461f9 100644
(file)
--- a/
src/output/pivot-table.c
+++ b/
src/output/pivot-table.c
@@
-2448,7
+2448,7
@@
pivot_value_clone (const struct pivot_value *old)
font_style_copy (NULL, new->font_style, old->font_style);
}
if (old->cell_style)
- new->
font_style = xmemdup (old->font_style, sizeof *new->font
_style);
+ new->
cell_style = xmemdup (old->cell_style, sizeof *new->cell
_style);
if (old->n_subscripts)
{
new->subscripts = xnmalloc (old->n_subscripts, sizeof *new->subscripts);