wineboot: Fix the character count passed to RegEnumKeyW in start_services.

This commit is contained in:
Rob Shearman 2008-02-25 09:00:36 +00:00 committed by Alexandre Julliard
parent 47c53cc724
commit c2838c9512
1 changed files with 1 additions and 1 deletions

View File

@ -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);