setupx.dll16: 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:
Michael Stefaniuc 2018-11-15 20:42:18 +01:00 committed by Alexandre Julliard
parent 2d735f076d
commit f2c0d96bb7
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ static void SETUPX_CreateStandardLDDs(void)
RegOpenKeyA(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup", &hKey);
for (n=0; n < sizeof(LDID_Data)/sizeof(LDID_DATA); n++)
for (n=0; n < ARRAY_SIZE(LDID_Data); n++)
{
buffer[0] = '\0';