mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
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:
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user