X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foneway.q;h=565ba61b7f64e3d565b560061e9d2d33b6c10b83;hb=4fdeb2145d081ff1b84e3f6c99f9d1c048c0d64a;hp=390ce029e47f0c907f0c86f9f00b50bcec1684ef;hpb=b321086267ad1014dc5d09886396cde30f094437;p=pspp diff --git a/src/oneway.q b/src/oneway.q index 390ce029e4..565ba61b7f 100644 --- a/src/oneway.q +++ b/src/oneway.q @@ -15,8 +15,8 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301, USA. */ #include #include @@ -47,7 +47,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA /* (specification) "ONEWAY" (oneway_): - *variables=custom; + *^variables=custom; +missing=miss:!analysis/listwise, incl:include/!exclude; contrast= double list; @@ -140,6 +140,8 @@ cmd_oneway(void) multipass_procedure_with_splits (run_oneway, &cmd); + free (vars); + free_oneway (&cmd); return CMD_SUCCESS; } @@ -439,18 +441,8 @@ show_descriptives(void) gs != 0; gs = hsh_next(group_hash,&g)) { - const char *s = val_labs_find(indep_var->val_labs, gs->id ); - - if ( s ) - tab_text (t, 1, row + count, - TAB_LEFT | TAT_TITLE ,s); - else if ( indep_var->width != 0 ) - tab_text (t, 1, row + count, - TAB_LEFT | TAT_TITLE, gs->id.s); - else - tab_text (t, 1, row + count, - TAB_LEFT | TAT_TITLE | TAT_PRINTF, "%g", gs->id.f); - + tab_text (t, 1, row + count, + TAB_LEFT | TAT_TITLE ,value_to_string(&gs->id,indep_var)); /* Now fill in the numbers ... */