0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.0240: g:actual_curbuf set in wrong scope

Problem:    g:actual_curbuf set in wrong scope. (Daniel Hahler)
Solution:   Prepend the "g:" name space. (closes #3279)
This commit is contained in:
Bram Moolenaar
2018-08-05 13:22:26 +02:00
parent 218beb3e96
commit 3cb4448b8a
2 changed files with 3 additions and 1 deletions

View File

@@ -4229,7 +4229,7 @@ build_stl_str_hl(
#ifdef FEAT_EVAL
vim_snprintf((char *)tmp, sizeof(tmp), "%d", curbuf->b_fnum);
set_internal_string_var((char_u *)"actual_curbuf", tmp);
set_internal_string_var((char_u *)"g:actual_curbuf", tmp);
save_curbuf = curbuf;
save_curwin = curwin;