X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ffrequencies.q;h=fa380dea0fef49b18a78a4b94b93da1f483a6759;hb=fad826ff86720f76220b05e00dc7dfa46e418859;hp=b5da79bde62b83545e563e5bbd0fde8a5bde8171;hpb=72318eac4782acf0215da8dfd4575ac66a9a9f74;p=pspp-builds.git diff --git a/src/frequencies.q b/src/frequencies.q index b5da79bd..fa380dea 100644 --- a/src/frequencies.q +++ b/src/frequencies.q @@ -627,7 +627,7 @@ postcalc (void *aux UNUSED) dump_statistics (v, !dumped_freq_tab); -#ifndef NO_CHARTS + if ( chart == GFT_HIST) { double d[frq_n_stats]; @@ -653,7 +653,7 @@ postcalc (void *aux UNUSED) { do_piechart(v_variables[i], ft); } -#endif + cleanup_freq_tab (v); @@ -868,7 +868,7 @@ frq_custom_grouped (struct cmd_frequencies *cmd UNUSED) { nl = ml = 0; dl = NULL; - while (token == T_NUM) + while (lex_integer ()) { if (nl >= ml) { @@ -1614,7 +1614,7 @@ freq_tab_to_slice_array(const struct freq_tab *frq_tab, -#ifndef NO_CHARTS + static void do_piechart(const struct variable *var, const struct freq_tab *frq_tab) { @@ -1627,7 +1627,7 @@ do_piechart(const struct variable *var, const struct freq_tab *frq_tab) free(slices); } -#endif + /* Local Variables: