Commit 33f4548a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

regsvr32: Use the ARRAY_SIZE() macro.

parent 6784ffcb
......@@ -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;
......
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