mscms: 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
5138074d8c
commit
05291bf1af
|
@ -295,7 +295,7 @@ BOOL WINAPI GetColorDirectoryW( PCWSTR machine, PWSTR buffer, PDWORD size )
|
|||
|
||||
if (machine || !size) return FALSE;
|
||||
|
||||
GetSystemDirectoryW( colordir, sizeof(colordir) / sizeof(WCHAR) );
|
||||
GetSystemDirectoryW( colordir, ARRAY_SIZE( colordir ));
|
||||
lstrcatW( colordir, colorsubdir );
|
||||
|
||||
len = lstrlenW( colordir ) * sizeof(WCHAR);
|
||||
|
|
Loading…
Reference in New Issue