fix a bug in CreateServiceA

svn path=/trunk/; revision=31757
This commit is contained in:
Christoph von Wittich 2008-01-13 13:33:28 +00:00
parent 56ed86bd5b
commit 0a1860718e

View file

@ -496,7 +496,7 @@ CreateServiceA(SC_HANDLE hSCManager,
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
goto cleanup;
}
MultiByteToWideChar(CP_ACP, 0, lpDisplayName, -1, lpBinaryPathNameW, len);
MultiByteToWideChar(CP_ACP, 0, lpBinaryPathName, -1, lpBinaryPathNameW, len);
}
if (lpLoadOrderGroup)