forked from aniani/vim
patch 8.2.3329: v_lock not set when getting value of environment variable
Problem: v_lock not set when getting value of environment variable. Solution: Set v_lock to zero.
This commit is contained in:
@@ -2082,6 +2082,7 @@ eval_env_var(char_u **arg, typval_T *rettv, int evaluate)
|
||||
|
||||
rettv->v_type = VAR_STRING;
|
||||
rettv->vval.v_string = string;
|
||||
rettv->v_lock = 0;
|
||||
}
|
||||
|
||||
return OK;
|
||||
|
Reference in New Issue
Block a user