Commit 6e25c34f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msxml3: Mirror the NULL checking logic (Coverity).

parent 221fd399
...@@ -1202,7 +1202,7 @@ static void mxwriter_write_starttag(mxwriter *writer, const WCHAR *qname, int le ...@@ -1202,7 +1202,7 @@ static void mxwriter_write_starttag(mxwriter *writer, const WCHAR *qname, int le
write_node_indent(writer); write_node_indent(writer);
write_output_buffer(writer->buffer, ltW, 1); write_output_buffer(writer->buffer, ltW, 1);
write_output_buffer(writer->buffer, qname, len); write_output_buffer(writer->buffer, qname ? qname : emptyW, qname ? len : 0);
writer_inc_indent(writer); writer_inc_indent(writer);
} }
......
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