Commit c443674d authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msxml: Always return a string in get_text.

parent 9845a9ce
......@@ -564,7 +564,10 @@ static HRESULT WINAPI xmlnode_get_text(
default:
FIXME("Unhandled node type %d\n", This->node->type);
}
/* Always return a string. */
if (!str) str = SysAllocStringLen( NULL, 0 );
TRACE("%p %s\n", This, debugstr_w(str) );
*text = str;
......
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