diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-11 12:48:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-11 12:48:36 +0100 |
commit | 6119e6156e024d9047bbfeb7cdfdae259f9e1b92 (patch) | |
tree | f47e368895af444b12ae03b7b2f1ce38d008f090 /src/os_win32.c | |
parent | 39b21272d521512b6ecac6cc0f310944f21b7443 (diff) | |
download | vim-git-6119e6156e024d9047bbfeb7cdfdae259f9e1b92.tar.gz |
patch 7.4.1302v7.4.1302
Problem: Typo in struct field name. (Ken Takata)
Solution: Rename jf_pi to jv_pi.
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 4917a7f53..5841d135d 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -5050,7 +5050,7 @@ mch_start_job(char *cmd, job_T *job) job->jv_status = JOB_FAILED; else { - job->jf_pi = pi; + job->jv_pi = pi; job->jv_status = JOB_STARTED; } } @@ -5060,12 +5060,12 @@ mch_job_status(job_T *job) { DWORD dwExitCode = 0; - if (!GetExitCodeProcess(job->jf_pi.hProcess, &dwExitCode)) + if (!GetExitCodeProcess(job->jv_pi.hProcess, &dwExitCode)) return "dead"; if (dwExitCode != STILL_ACTIVE) { - CloseHandle(job->jf_pi.hProcess); - CloseHandle(job->jf_pi.hThread); + CloseHandle(job->jv_pi.hProcess); + CloseHandle(job->jv_pi.hThread); return "dead"; } return "run"; @@ -5075,12 +5075,12 @@ mch_job_status(job_T *job) mch_stop_job(job_T *job, char_u *how) { if (STRCMP(how, "kill") == 0) - TerminateProcess(job->jf_pi.hProcess, 0); + TerminateProcess(job->jv_pi.hProcess, 0); else return GenerateConsoleCtrlEvent( STRCMP(how, "hup") == 0 ? CTRL_BREAK_EVENT : CTRL_C_EVENT, - job->jf_pi.dwProcessId) ? OK : FAIL; + job->jv_pi.dwProcessId) ? OK : FAIL; return OK; } #endif |