msxml3/tests: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
40c847d807
commit
c743b72d25
|
@ -206,7 +206,7 @@ static void test_Load(void)
|
|||
BSTR source;
|
||||
|
||||
lstrcpyW(buf, res);
|
||||
GetModuleFileNameW(NULL, buf+lstrlenW(buf), (sizeof(buf)-sizeof(res))/sizeof(WCHAR));
|
||||
GetModuleFileNameW(NULL, buf+lstrlenW(buf), ARRAY_SIZE(buf)-ARRAY_SIZE(res));
|
||||
lstrcatW(buf, xmlview_xmlW);
|
||||
|
||||
if(!pCreateURLMoniker) {
|
||||
|
|
Loading…
Reference in New Issue