Commit 76a09f4e authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

msxml3: Fix incorrect size argument of FormatMessageW.

parent 8d52f096
...@@ -668,7 +668,7 @@ static void format_error_message_from_id(saxlocator *This, HRESULT hr) ...@@ -668,7 +668,7 @@ static void format_error_message_from_id(saxlocator *This, HRESULT hr)
{ {
WCHAR msg[1024]; WCHAR msg[1024];
if(!FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM, if(!FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM,
NULL, hr, 0, msg, sizeof(msg), NULL)) NULL, hr, 0, msg, sizeof(msg)/sizeof(msg[0]), NULL))
{ {
FIXME("MSXML errors not yet supported.\n"); FIXME("MSXML errors not yet supported.\n");
msg[0] = '\0'; msg[0] = '\0';
......
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