Fix a typo. Use lpStartServiceName instead of lpServiceName.

This fixes two winetests. 

svn path=/trunk/; revision=44714
This commit is contained in:
Eric Kohl 2009-12-22 16:57:27 +00:00
parent fa1f780dfb
commit 18df79a3ba

View file

@ -1969,8 +1969,9 @@ DWORD RCreateServiceW(
goto done;
}
/* If a non driver and NULL for lpServiceName, write ObjectName as LocalSystem */
if ((dwServiceType & SERVICE_WIN32) && (!lpServiceName))
/* FIXME: Handle lpServiceStartName propertly! */
/* If a non driver and NULL for lpServiceStartName, write ObjectName as LocalSystem */
if ((dwServiceType & SERVICE_WIN32) && (!lpServiceStartName))
{
dwError = RegSetValueExW(hServiceKey,
L"ObjectName",