diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-22 15:19:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-22 15:19:16 +0100 |
commit | 471c0fa3eed4f6207d1cb7636970547bfd2eee26 (patch) | |
tree | a63888422f4a84f9e73b3e23025090127c31fe25 /src/misc1.c | |
parent | f768c3d19c518822d89dec4cc3947ddeea249316 (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/misc1.c')
-rw-r--r-- | src/misc1.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/misc1.c b/src/misc1.c index 6b01ef2bba..6383922521 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -413,10 +413,8 @@ plines_win_nofold(win_T *wp, linenr_T lnum) clear_chartabsize_arg(&cts); col = (int)cts.cts_vcol; - /* - * If list mode is on, then the '$' at the end of the line may take up one - * extra column. - */ + // If list mode is on, then the '$' at the end of the line may take up one + // extra column. if (wp->w_p_list && wp->w_lcs_chars.eol != NUL) col += 1; @@ -585,8 +583,7 @@ check_status(buf_T *buf) if (wp->w_buffer == buf && wp->w_status_height) { wp->w_redr_status = TRUE; - if (must_redraw < UPD_VALID) - must_redraw = UPD_VALID; + set_must_redraw(UPD_VALID); } } |