projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c05a2b0
)
pivot-output: Fill corner cell even without corner text.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 28 Dec 2020 19:39:45 +0000
(11:39 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 28 Dec 2020 19:49:19 +0000
(11:49 -0800)
This ensure that any background in the corner style is drawn.
src/output/pivot-output.c
patch
|
blob
|
history
diff --git
a/src/output/pivot-output.c
b/src/output/pivot-output.c
index 64e72e23473655d8b2535dceeb9d540ace52a9cd..5cfff510a19280733757941a9a0c886b764df631 100644
(file)
--- a/
src/output/pivot-output.c
+++ b/
src/output/pivot-output.c
@@
-417,7
+417,8
@@
pivot_table_submit_layer (const struct pivot_table *pt,
}
free (dindexes);
- if (pt->corner_text && stub[H] && stub[V])
+ if ((pt->corner_text || !pt->look->row_labels_in_corner)
+ && stub[H] && stub[V])
fill_cell (table, 0, 0, stub[H] - 1, stub[V] - 1,
&pt->look->areas[PIVOT_AREA_CORNER], PIVOT_AREA_CORNER,
pt->corner_text, footnotes,