Canonicalise 2-tailed vs. 2-sided
[pspp] / src / language / stats / crosstabs.q
index acec9769b48d2ecf11eff6ef837ffb15aaa027b2..f75e249e8fdd3bba0363a9a26240aedd30ad16e3 100644 (file)
@@ -1214,11 +1214,11 @@ create_chisq_table (struct pivot_table *pt)
   tab_text (chisq, 1, 0, TAB_RIGHT | TAT_TITLE, _("Value"));
   tab_text (chisq, 2, 0, TAB_RIGHT | TAT_TITLE, _("df"));
   tab_text (chisq, 3, 0, TAB_RIGHT | TAT_TITLE,
-            _("Asymp. Sig. (2-sided)"));
+            _("Asymp. Sig. (2-tailed)"));
   tab_text (chisq, 4, 0, TAB_RIGHT | TAT_TITLE,
-            _("Exact Sig. (2-sided)"));
+            _("Exact Sig. (2-tailed)"));
   tab_text (chisq, 5, 0, TAB_RIGHT | TAT_TITLE,
-            _("Exact Sig. (1-sided)"));
+            _("Exact Sig. (1-tailed)"));
   tab_offset (chisq, 0, 1);
 
   return chisq;
@@ -1508,6 +1508,8 @@ format_cell_entry (struct tab_table *table, int c, int r, double value,
 
   tab_text_format (table, c, r, TAB_RIGHT, "%s%s",
                    s + strspn (s, " "), suffixes);
+
+  free (s);
 }
 
 /* Displays the crosstabulation table. */