X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fsplit-file.c;h=5d2b42d758eed2d1e305d05046d59cf0aa290877;hb=8f04b0ced35a66cfdebefbcb53c81979add36ca3;hp=11fa097493340d5c9d38b49dd2215d3a3bdad4f0;hpb=f15c854d8500105766b2f5666bb62b983ff24f88;p=pspp-builds.git diff --git a/src/language/dictionary/split-file.c b/src/language/dictionary/split-file.c index 11fa0974..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), print); + 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));