sorry, forgot to change one var
Modified: trunk/reactos/lib/advapi32/service/scm.c
_____
Modified: trunk/reactos/lib/advapi32/service/scm.c
--- trunk/reactos/lib/advapi32/service/scm.c 2005-11-17 13:45:02 UTC
(rev 19292)
+++ trunk/reactos/lib/advapi32/service/scm.c 2005-11-17 13:46:07 UTC
(rev 19293)
@@ -343,7 +343,7 @@
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));
Show replies by date