if (field.string != NULL)
{
msg_disable ();
+ /* FIXME: NULL should be replaced with the destination dictionary */
if (!data_in (field, LEGACY_NATIVE, in->type, 0, 0, 0,
+ NULL,
&val, var_get_width (var)))
{
char fmt_string[FMT_STRING_LEN_MAX + 1];
}
if (outputp != NULL)
{
- char *output = xmalloc (out.w + 1);
- data_out (&val, &out, output);
- output[out.w] = '\0';
- *outputp = output;
+ *outputp = data_out (&val, dict_get_encoding (ia->formats.dict), &out);
}
value_destroy (&val, var_get_width (var));