commit | cfe456543e840d133399551f8626d985e1fb1958 | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Fri May 27 17:26:55 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 27 17:26:55 2022 +0100 |
tree | 88e1820132eef74ed7abab2334d51019cb6f47d2 | |
parent | 02e8d4e4ffcdd6ee919e19692d591da8e18a565d [diff] [blame] |
patch 8.2.5029: "textlock" is always zero Problem: "textlock" is always zero. Solution: Remove "textlock" and rename "textwinlock" to "textlock". (closes #10489)
diff --git a/src/window.c b/src/window.c index 984fb46..fa59ade 100644 --- a/src/window.c +++ b/src/window.c
@@ -4584,7 +4584,7 @@ return; } #endif - if (text_and_win_locked()) + if (text_locked()) { beep_flush(); text_locked_msg();