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:
Michael Stefaniuc 2018-08-10 12:27:52 +02:00 committed by Alexandre Julliard
parent 6784ffcb63
commit 33f4548ae6
1 changed files with 1 additions and 1 deletions

View File

@ -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;