X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Ffactor.c;h=3c1ce6094e5a2854be019066efdffae0e6afa618;hb=c179ef1e8c8c036b741068240995df634559290a;hp=8a5efac14b020d3c38645047224e82086664ea99;hpb=60fe3c967a51a30c226e96920dfa7903a901a113;p=pspp diff --git a/src/language/stats/factor.c b/src/language/stats/factor.c index 8a5efac14b..3c1ce6094e 100644 --- a/src/language/stats/factor.c +++ b/src/language/stats/factor.c @@ -1945,8 +1945,11 @@ show_correlation_matrix (const struct cmd_factor *factor, const struct idata *id } if (factor->print & PRINT_DETERMINANT) - table->caption = pivot_value_new_user_text_nocopy ( - xasprintf ("%s: %.2f", _("Determinant"), idata->detR)); + { + struct pivot_value *caption = pivot_value_new_user_text_nocopy ( + xasprintf ("%s: %.2f", _("Determinant"), idata->detR)); + pivot_table_set_caption (table, caption); + } pivot_table_submit (table); }