# HG changeset patch # User Christian Brabandt # Date 1533468605 -7200 # Node ID 95a03484df2785021f9e8e88cd4b4012fc63770c # Parent afd3ea009e06193b9b471d4c0cabe90e66bd185a patch 8.1.0240: g:actual_curbuf set in wrong scope commit https://github.com/vim/vim/commit/3cb4448b8a5c0192988f4e349aba6d7a91a9a4bd Author: Bram Moolenaar Date: Sun Aug 5 13:22:26 2018 +0200 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 https://github.com/vim/vim/issues/3279) diff --git a/src/buffer.c b/src/buffer.c --- a/src/buffer.c +++ b/src/buffer.c @@ -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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 240, +/**/ 239, /**/ 238,