Commit d907c895 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

hnetcfg: Don't use _GetValue() if text element is missing in get_xml_elements().

parent a07882ec
......@@ -265,7 +265,10 @@ static BOOL get_xml_elements( const char *desc_xml, struct xml_value_desc *value
if (node_type == XmlNodeType_EndElement) value = L"";
else goto done;
}
if (FAILED(IXmlReader_GetValue( reader, &value, NULL ))) goto done;
else
{
if (FAILED(IXmlReader_GetValue( reader, &value, NULL ))) goto done;
}
if (values[i].value)
{
WARN( "Duplicate value %s.\n", debugstr_w(values[i].name) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment