render: Change style for footnote blocks.
[pspp] / src / output / render.c
index 83641c20622c56b798124142b47312c6ee301914..410fd4c5961762a32b69fcb99e037113686e325a 100644 (file)
@@ -1514,17 +1514,13 @@ add_footnote_page (struct render_pager *p, const struct table_item *item)
   if (!n_footnotes)
     return;
 
-  struct tab_table *t = tab_create (2, n_footnotes);
-
+  struct tab_table *t = tab_create (1, n_footnotes);
   for (size_t i = 0; i < n_footnotes; i++)
     {
-      tab_text_format (t, 0, i, TAB_LEFT, "%s.", f[i]->marker);
-      tab_text (t, 1, i, TAB_LEFT, f[i]->content);
+      tab_text_format (t, 0, i, TAB_LEFT, "%s. %s",
+                       f[i]->marker, f[i]->content);
       if (f[i]->style)
-        {
-          tab_add_style (t, 0, i, f[i]->style);
-          tab_add_style (t, 1, i, f[i]->style);
-        }
+        tab_add_style (t, 0, i, f[i]->style);
     }
   render_pager_add_table (p, &t->table, 0);