diff options
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index e4f28edb75..112a2e70b8 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -8415,7 +8415,7 @@ f_getreginfo(typval_T *argvars, typval_T *rettv) if (item != NULL) { - item->di_tv.v_type = VAR_SPECIAL; + item->di_tv.v_type = VAR_BOOL; item->di_tv.vval.v_number = regname == buf[0] ? VVAL_TRUE : VVAL_FALSE; (void)dict_add(dict, item); |