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:
Michael Stefaniuc 2018-07-30 21:18:12 +02:00 committed by Alexandre Julliard
parent 5138074d8c
commit 05291bf1af
1 changed files with 1 additions and 1 deletions

View File

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