regsvr32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6784ffcb63
commit
33f4548ae6
|
@ -49,7 +49,7 @@ static void WINAPIV output_write(UINT id, ...)
|
|||
|
||||
if (Silent) return;
|
||||
|
||||
if (!LoadStringW(GetModuleHandleW(NULL), id, fmt, sizeof(fmt)/sizeof(fmt[0])))
|
||||
if (!LoadStringW(GetModuleHandleW(NULL), id, fmt, ARRAY_SIZE(fmt)))
|
||||
{
|
||||
WINE_FIXME("LoadString failed with %d\n", GetLastError());
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue