X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fsplit-file.c;h=5d2b42d758eed2d1e305d05046d59cf0aa290877;hp=0024787fdd203e022b9e6b2911e3333c90ab6f76;hb=8f04b0ced35a66cfdebefbcb53c81979add36ca3;hpb=2b77d6273ba47af3020a827d48d0ff3330d76ba5 diff --git a/src/language/dictionary/split-file.c b/src/language/dictionary/split-file.c index 0024787f..5d2b42d7 100644 --- a/src/language/dictionary/split-file.c +++ b/src/language/dictionary/split-file.c @@ -92,11 +92,11 @@ output_split_file_values (const struct dataset *ds, const struct ccase *c) const char *val_lab; const struct fmt_spec *print = var_get_print_format (v); - tab_text (t, 0, i + 1, TAB_LEFT | TAT_PRINTF, "%s", var_get_name (v)); + tab_text_format (t, 0, i + 1, TAB_LEFT, "%s", var_get_name (v)); s = data_out (case_data (c, v), dict_get_encoding (dict), print); + tab_text_format (t, 1, i + 1, 0, "%.*s", print->w, s); - tab_text (t, 1, i + 1, TAT_PRINTF, "%.*s", print->w, s); free (s); val_lab = var_lookup_value_label (v, case_data (c, v));