X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Ffactor.c;h=3c1ce6094e5a2854be019066efdffae0e6afa618;hb=d36426b185fb94aa22cb7b13a7517247e27ae77b;hp=8a5efac14b020d3c38645047224e82086664ea99;hpb=13e082a56e2ebc8a74421d144a973119d45842d2;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); }