mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
Amend 109ea2be4a
The Windows code wasn't adapted when a variable was renamed (unlike the Linux one).
This commit is contained in:
parent
0370cc428c
commit
1eb19cb8e3
@ -408,7 +408,7 @@ int ForkedCall::generateChild()
|
|||||||
|
|
||||||
startup.cb = sizeof(STARTUPINFO);
|
startup.cb = sizeof(STARTUPINFO);
|
||||||
|
|
||||||
if (CreateProcess(0, (LPSTR)line.c_str(), 0, 0, FALSE,
|
if (CreateProcess(0, (LPSTR)command_.c_str(), 0, 0, FALSE,
|
||||||
CREATE_NO_WINDOW, 0, 0, &startup, &process)) {
|
CREATE_NO_WINDOW, 0, 0, &startup, &process)) {
|
||||||
CloseHandle(process.hThread);
|
CloseHandle(process.hThread);
|
||||||
cpid = (pid_t)process.hProcess;
|
cpid = (pid_t)process.hProcess;
|
||||||
|
Loading…
Reference in New Issue
Block a user