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:
@@ -4229,7 +4229,7 @@ build_stl_str_hl(
|
|||||||
|
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
vim_snprintf((char *)tmp, sizeof(tmp), "%d", curbuf->b_fnum);
|
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_curbuf = curbuf;
|
||||||
save_curwin = curwin;
|
save_curwin = curwin;
|
||||||
|
@@ -794,6 +794,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
240,
|
||||||
/**/
|
/**/
|
||||||
239,
|
239,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user