w->encoding = xstrdup (dict_get_encoding (dict));
- w->n_csv_vars = dict_get_var_cnt (dict);
+ w->n_csv_vars = dict_get_n_vars (dict);
w->csv_vars = xnmalloc (w->n_csv_vars, sizeof *w->csv_vars);
for (i = 0; i < w->n_csv_vars; i++)
{
csv_write_var (struct csv_writer *w, const struct csv_var *cv,
const union value *value)
{
- if (mv_is_value_missing (&cv->missing, value, MV_USER))
+ if (mv_is_value_missing (&cv->missing, value) == MV_USER)
{
union value missing;