mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 8.1.0167: lock flag in new dictitem is reset in many places
Problem: Lock flag in new dictitem is reset in many places. Solution: Always reset the lock flag.
This commit is contained in:
@@ -5742,7 +5742,6 @@ job_info(job_T *job, dict_T *dict)
|
||||
item = dictitem_alloc((char_u *)"channel");
|
||||
if (item == NULL)
|
||||
return;
|
||||
item->di_tv.v_lock = 0;
|
||||
item->di_tv.v_type = VAR_CHANNEL;
|
||||
item->di_tv.vval.v_channel = job->jv_channel;
|
||||
if (job->jv_channel != NULL)
|
||||
|
||||
Reference in New Issue
Block a user