diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-05 13:22:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-05 13:22:26 +0200 |
commit | 3cb4448b8a5c0192988f4e349aba6d7a91a9a4bd (patch) | |
tree | dd56c5afef8fe61ae0505ae09ba4282184ee6c6b /src/buffer.c | |
parent | 218beb3e96bcb7b20395be3bec6076c767be71a1 (diff) |
patch 8.1.0240: g:actual_curbuf set in wrong scopev8.1.0240
Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler)
Solution: Prepend the "g:" name space. (closes #3279)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index f76d849a2f..64ba5ab0e6 100644 --- 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; |