summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-22 15:19:16 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-22 15:19:16 +0100
commit471c0fa3eed4f6207d1cb7636970547bfd2eee26 (patch)
treea63888422f4a84f9e73b3e23025090127c31fe25 /src/main.c
parentf768c3d19c518822d89dec4cc3947ddeea249316 (diff)
patch 9.0.0245: mechanism to prevent recursive screen updating is incompletev9.0.0245
Problem: Mechanism to prevent recursive screen updating is incomplete. Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl(). (issue #10952)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c6430aaac5..f4db631a31 100644
--- a/src/main.c
+++ b/src/main.c
@@ -686,7 +686,7 @@ vim_main2(void)
&& !gui.in_use
#endif
)
- must_redraw = UPD_CLEAR;
+ set_must_redraw(UPD_CLEAR);
else
{
screenclear(); // clear screen