mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 11:33:38 +00:00
net: LoadStringW incorrect size bytes vs characters.
This commit is contained in:
parent
39f4583ef9
commit
a869964b31
|
@ -59,7 +59,7 @@ static int output_string(int msg, ...)
|
|||
int len;
|
||||
va_list arguments;
|
||||
|
||||
LoadStringW(GetModuleHandleW(NULL), msg, fmt, sizeof(fmt));
|
||||
LoadStringW(GetModuleHandleW(NULL), msg, fmt, sizeof(fmt)/sizeof(fmt[0]));
|
||||
va_start(arguments, msg);
|
||||
len = vsprintfW(str, fmt, arguments);
|
||||
output_write(str, len);
|
||||
|
|
Loading…
Reference in a new issue