]> git.lyx.org Git - features.git/commitdiff
Amend 109ea2be4a21ca93d22ab25703b3352a50fbbe3b
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 6 Feb 2022 04:35:07 +0000 (05:35 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 6 Feb 2022 04:35:07 +0000 (05:35 +0100)
The Windows code wasn't adapted when a variable was renamed (unlike the Linux one).

src/support/ForkedCalls.cpp

index f0b2c7efc18047ab5c943911b805530292736165..e770c4df688e73b6526dae010c242c06b7da20a0 100644 (file)
@@ -408,7 +408,7 @@ int ForkedCall::generateChild()
 
        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)) {
                CloseHandle(process.hThread);
                cpid = (pid_t)process.hProcess;