forked from aniani/vim
patch 7.4.1355
Problem: Win32 console and GUI handle channels differently. Solution: Consolidate code between Win32 console and GUI.
This commit is contained in:
@@ -14635,14 +14635,14 @@ f_job_start(typval_T *argvars UNUSED, typval_T *rettv)
|
||||
ga_concat(&ga, (char_u *)" ");
|
||||
ga_concat(&ga, (char_u *)argv[i]);
|
||||
}
|
||||
ch_logs(NULL, "Starting job: %s", ga.ga_data);
|
||||
ch_logs(NULL, "Starting job: %s", (char *)ga.ga_data);
|
||||
ga_clear(&ga);
|
||||
}
|
||||
# endif
|
||||
mch_start_job(argv, job, &options);
|
||||
#else
|
||||
# ifdef FEAT_CHANNEL
|
||||
ch_logs(NULL, "Starting job: %s", cmd);
|
||||
ch_logs(NULL, "Starting job: %s", (char *)cmd);
|
||||
# endif
|
||||
mch_start_job((char *)cmd, job, &options);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user