Commit 05291bf1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

mscms: Use the ARRAY_SIZE() macro.

parent 5138074d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment