as the widest destination variable. */
if (trns->dst_type == VAL_STRING)
{
- if ( ! enlarge_dst_widths (trns))
+ if (! enlarge_dst_widths (trns))
{
recode_trns_free (trns);
return CMD_FAILURE;
char *error;
error = data_in (ss_buffer (CHAR_CAST_BUG (char *, value), width),
- C_ENCODING, FMT_F, &uv, 0, encoding);
+ C_ENCODING, FMT_F, settings_get_fmt_settings (),
+ &uv, 0, encoding);
match = error == NULL;
free (error);
if (trns->dst_type == VAL_NUMERIC)
{
- double *dst = &case_data_rw (*c, dst_var)->f;
+ double *dst = case_num_rw (*c, dst_var);
if (out != NULL)
*dst = !out->copy_input ? out->value.f : case_num (*c, src_var);
else if (trns->src_vars != trns->dst_vars)