msxml: Always return a string in get_text.
This commit is contained in:
parent
9845a9ced4
commit
c443674d13
|
@ -564,7 +564,10 @@ static HRESULT WINAPI xmlnode_get_text(
|
||||||
default:
|
default:
|
||||||
FIXME("Unhandled node type %d\n", This->node->type);
|
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) );
|
TRACE("%p %s\n", This, debugstr_w(str) );
|
||||||
*text = str;
|
*text = str;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue