Commit c2838c95 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent 47c53cc7
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment