msinfo32: 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-04 22:45:44 +02:00 committed by Alexandre Julliard
parent a89880615e
commit 91fda02ff6
1 changed files with 1 additions and 2 deletions

View File

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