mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 23:00:36 +00:00
msvidc32: 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:
parent
36c503c9f0
commit
21d0f36511
|
@ -460,8 +460,8 @@ static LRESULT CRAM_GetInfo( const Msvideo1Context *info, ICINFO *icinfo, DWORD
|
||||||
icinfo->dwVersion = ICVERSION;
|
icinfo->dwVersion = ICVERSION;
|
||||||
icinfo->dwVersionICM = ICVERSION;
|
icinfo->dwVersionICM = ICVERSION;
|
||||||
|
|
||||||
LoadStringW(MSVIDC32_hModule, IDS_NAME, icinfo->szName, sizeof(icinfo->szName)/sizeof(WCHAR));
|
LoadStringW(MSVIDC32_hModule, IDS_NAME, icinfo->szName, ARRAY_SIZE(icinfo->szName));
|
||||||
LoadStringW(MSVIDC32_hModule, IDS_DESCRIPTION, icinfo->szDescription, sizeof(icinfo->szDescription)/sizeof(WCHAR));
|
LoadStringW(MSVIDC32_hModule, IDS_DESCRIPTION, icinfo->szDescription, ARRAY_SIZE(icinfo->szDescription));
|
||||||
/* msvfw32 will fill icinfo->szDriver for us */
|
/* msvfw32 will fill icinfo->szDriver for us */
|
||||||
|
|
||||||
return sizeof(ICINFO);
|
return sizeof(ICINFO);
|
||||||
|
|
Loading…
Reference in a new issue