wineboot: Fix the character count passed to RegEnumKeyW in start_services.
This commit is contained in:
parent
47c53cc724
commit
c2838c9512
|
@ -562,7 +562,7 @@ static void start_services(void)
|
|||
return;
|
||||
}
|
||||
|
||||
while (!RegEnumKeyW( hkey, index++, name, sizeof(name) ))
|
||||
while (!RegEnumKeyW( hkey, index++, name, sizeof(name)/sizeof(name[0]) ))
|
||||
{
|
||||
if (RegOpenKeyW( hkey, name, &skey )) continue;
|
||||
size = sizeof(start);
|
||||
|
|
Loading…
Reference in New Issue