output: Add footnote support.
[pspp] / src / output / table-casereader.c
index a6a370f1bd7a41af5ef6de75fe0893aaa4637fd4..485014dc81a20eac816f91ed34435033d2910676 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2009, 2011, 2013 Free Software Foundation, Inc.
+   Copyright (C) 2009, 2011, 2013, 2014 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -114,6 +114,7 @@ table_casereader_get_cell (const struct table *t, int x, int y,
   cell->n_contents = 1;
   cell->inline_contents.options = TAB_RIGHT;
   cell->inline_contents.table = NULL;
+  cell->inline_contents.n_footnotes = 0;
   if (tc->heading != NULL)
     {
       if (y == 0)