Mercurial > vim
diff src/beval.c @ 29014:45c182c4f7e9 v8.2.5029
patch 8.2.5029: "textlock" is always zero
Commit: https://github.com/vim/vim/commit/cfe456543e840d133399551f8626d985e1fb1958
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri May 27 17:26:55 2022 +0100
patch 8.2.5029: "textlock" is always zero
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 May 2022 18:30:04 +0200 |
parents | 9e0ac05f579a |
children | 057c26b5c33a |
line wrap: on
line diff
--- a/src/beval.c +++ b/src/beval.c @@ -284,7 +284,7 @@ general_beval_cb(BalloonEval *beval, int curbuf = save_curbuf; if (use_sandbox) ++sandbox; - ++textwinlock; + ++textlock; if (bexpr == p_bexpr) { @@ -311,7 +311,7 @@ general_beval_cb(BalloonEval *beval, int if (use_sandbox) --sandbox; - --textwinlock; + --textlock; current_sctx = save_sctx; set_vim_var_string(VV_BEVAL_TEXT, NULL, -1);