From: Ben Pfaff <blp@cs.stanford.edu>
Date: Mon, 28 Dec 2020 19:39:45 +0000 (-0800)
Subject: pivot-output: Fill corner cell even without corner text.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981e88e2f5b4e28ba32f7a878321d1e169c68b83;p=pspp

pivot-output: Fill corner cell even without corner text.

This ensure that any background in the corner style is drawn.
---

diff --git a/src/output/pivot-output.c b/src/output/pivot-output.c
index 64e72e2347..5cfff510a1 100644
--- 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,