mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:08:19 +00:00
usp10: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c142bc8959
commit
498bf04971
|
@ -1155,7 +1155,7 @@ HRESULT WINAPI ScriptGetProperties(const SCRIPT_PROPERTIES ***props, int *num)
|
|||
|
||||
if (!props && !num) return E_INVALIDARG;
|
||||
|
||||
if (num) *num = sizeof(script_props)/sizeof(script_props[0]);
|
||||
if (num) *num = ARRAY_SIZE(script_props);
|
||||
if (props) *props = script_props;
|
||||
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in a new issue