Commit a869964b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

net: LoadStringW incorrect size bytes vs characters.

parent 39f4583e
...@@ -59,7 +59,7 @@ static int output_string(int msg, ...) ...@@ -59,7 +59,7 @@ static int output_string(int msg, ...)
int len; int len;
va_list arguments; va_list arguments;
LoadStringW(GetModuleHandleW(NULL), msg, fmt, sizeof(fmt)); LoadStringW(GetModuleHandleW(NULL), msg, fmt, sizeof(fmt)/sizeof(fmt[0]));
va_start(arguments, msg); va_start(arguments, msg);
len = vsprintfW(str, fmt, arguments); len = vsprintfW(str, fmt, arguments);
output_write(str, len); output_write(str, len);
......
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