Merge commit 'origin/data-encoding'
[pspp-builds.git] / src / language / dictionary / split-file.c
index 0024787fdd203e022b9e6b2911e3333c90ab6f76..5d2b42d758eed2d1e305d05046d59cf0aa290877 100644 (file)
@@ -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));