Commit 91fda02f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msinfo32: Use the ARRAY_SIZE() macro.

parent a8988061
......@@ -34,8 +34,7 @@ int wmain(int argc, WCHAR *argv[])
WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
WINE_FIXME("\n");
LoadStringW(GetModuleHandleW(NULL), STRING_SYSTEM_INFO,
system_info, sizeof(system_info)/sizeof(WCHAR));
LoadStringW(GetModuleHandleW(NULL), STRING_SYSTEM_INFO, system_info, ARRAY_SIZE(system_info));
ShellAboutW(NULL, system_info, NULL, NULL);
return 0;
......
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