sorry, forgot to change one var

svn path=/trunk/; revision=19293
This commit is contained in:
Christoph von Wittich
2005-11-17 13:46:07 +00:00
parent 5333007c97
commit 1f3e7f6729
+1 -1
View File
@@ -343,7 +343,7 @@ CreateServiceA(
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
goto cleanup;
}
MultiByteToWideChar(CP_ACP, 0, lpDependencies, -1, lpDependenciesW, len);
MultiByteToWideChar(CP_ACP, 0, lpDependencies, -1, lpDependenciesW, dwDependenciesLength);
len = MultiByteToWideChar(CP_ACP, 0, lpServiceStartName, -1, NULL, 0);
lpServiceStartName = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));