X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Ffactor.c;h=a9c948e6369671ec6aa40f9a8103f91dbebb5ea4;hb=3ec4ce83403f756f2c983ca2b5544cb1dcf9dfe0;hp=eae6840f3b2f66716a61582e8863ee9746c673bb;hpb=3c5fcaa67efcee56981c16b543fb9f679787a486;p=pspp diff --git a/src/language/stats/factor.c b/src/language/stats/factor.c index eae6840f3b..a9c948e636 100644 --- a/src/language/stats/factor.c +++ b/src/language/stats/factor.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009, 2010, 2011 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 @@ -16,7 +16,6 @@ #include - #include #include #include @@ -24,30 +23,25 @@ #include #include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include -#include - -#include - -#include -#include +#include "data/casegrouper.h" +#include "data/casereader.h" +#include "data/casewriter.h" +#include "data/dataset.h" +#include "data/dictionary.h" +#include "data/format.h" +#include "data/subcase.h" +#include "language/command.h" +#include "language/lexer/lexer.h" +#include "language/lexer/value-parser.h" +#include "language/lexer/variable-parser.h" +#include "libpspp/message.h" +#include "libpspp/misc.h" +#include "math/correlation.h" +#include "math/covariance.h" +#include "math/moments.h" +#include "output/chart-item.h" +#include "output/charts/scree.h" +#include "output/tab.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -1303,7 +1297,7 @@ show_factor_matrix (const struct cmd_factor *factor, struct idata *idata, const tab_title (t, _("Factor Matrix")); */ - tab_title (t, title); + tab_title (t, "%s", title); tab_headers (t, heading_columns, 0, heading_rows, 0); @@ -1496,7 +1490,7 @@ show_explained_variance (const struct cmd_factor * factor, struct idata *idata, c = 0; - tab_text_format (t, c++, i + heading_rows, TAB_LEFT | TAT_TITLE, _("%d"), i + 1); + tab_text_format (t, c++, i + heading_rows, TAB_LEFT | TAT_TITLE, _("%zu"), i + 1); i_cum += i_percent; e_cum += e_percent;