mirror of
https://github.com/reactos/reactos.git
synced 2024-11-26 21:13:30 +08:00
[WINESYNC] setupapi: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id d33f06746050984c622366ffbc19219ec1f5aa7d by Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
be832c6f79
commit
d3d00be596
@ -1230,7 +1230,7 @@ BOOL WINAPI SetupUninstallOEMInfW( PCWSTR inf_file, DWORD flags, PVOID reserved
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!GetWindowsDirectoryW( target, sizeof(target)/sizeof(WCHAR) )) return FALSE;
|
||||
if (!GetWindowsDirectoryW( target, ARRAY_SIZE( target ))) return FALSE;
|
||||
|
||||
strcatW( target, infW );
|
||||
strcatW( target, inf_file );
|
||||
|
@ -3,4 +3,4 @@ files:
|
||||
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
|
||||
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
|
||||
tags:
|
||||
wine: 86d26dded5560d6d8adb195372f0676d1f7229b0
|
||||
wine: d33f06746050984c622366ffbc19219ec1f5aa7d
|
||||
|
Loading…
Reference in New Issue
Block a user