mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 02:43:48 +00:00
fix a bug in CreateServiceA
svn path=/trunk/; revision=31757
This commit is contained in:
parent
56ed86bd5b
commit
0a1860718e
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue