Make data input and output take a fmt_settings structure.
[pspp] / src / language / stats / crosstabs.q
index 8c1fe5ba2fe505595212d81fa873288f2d2f5065..50ba4a734239be7091ab1e7335c0166746ed0942 100644 (file)
@@ -1239,7 +1239,8 @@ create_crosstab_table (struct crosstabs_proc *proc, struct crosstabulation *xt,
       ds_put_format (&title, ", %s=", var_to_string (var));
 
       /* Insert the formatted value of VAR without any leading spaces. */
-      s = data_out (value, var_get_encoding (var), var_get_print_format (var));
+      s = data_out (value, var_get_encoding (var), var_get_print_format (var),
+                    settings_get_fmt_settings ());
       ds_put_cstr (&title, s + strspn (s, " "));
       free (s);
     }