Commit 7487e5f4 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

icinfo: Use the ARRAY_SIZE() macro.

parent d3188ce1
......@@ -33,7 +33,7 @@ static int mywprintf(const WCHAR *format, ...)
HANDLE hout = GetStdHandle(STD_OUTPUT_HANDLE);
va_start(parms, format);
vsnprintfW(output_bufW, sizeof(output_bufW)/sizeof(output_bufW[0]), format, parms);
vsnprintfW(output_bufW, ARRAY_SIZE(output_bufW), format, parms);
va_end(parms);
/* Try to write as unicode whenever we think it's a console */
......
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