const union value *value = val_lab_get_value (vl);
if (width)
{
- char *s = xmemdup0 (value_str (value, width), width);
+ char *s = xmemdup0 (value->s, width);
xmlTextWriterWriteAttribute (writer, _xml ("value"), _xml (s));
free (s);
}
w->writer = xmlNewTextWriter (xmlOutputBufferCreateFile (w->file, NULL));
if (!w->writer)
{
- msg (ME, _("Internal error creating xmlTextWriter."));
+ msg (ME, _("Internal error creating xmlTextWriter. "
+ "Please report this to %s."), PACKAGE_BUGREPORT);
goto error;
}