Signed-off-by: Michael Stefaniuc mstefani@winehq.org --- programs/msinfo32/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/programs/msinfo32/main.c b/programs/msinfo32/main.c index f64d266d43..17515275fc 100644 --- a/programs/msinfo32/main.c +++ b/programs/msinfo32/main.c @@ -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;