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:
parent
a89880615e
commit
91fda02ff6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue