Mercurial > vim
diff src/misc1.c @ 29732:89e1d67814a9 v9.0.0206
patch 9.0.0206: redraw flags are not named specifically
Commit: https://github.com/vim/vim/commit/a4d158b3c839e96ed98ff87c7b7124ff4518c4ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 14 14:17:45 2022 +0100
patch 9.0.0206: redraw flags are not named specifically
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Aug 2022 15:30:05 +0200 |
parents | fc0f93590fd4 |
children | 68ef14b21d01 |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -585,8 +585,8 @@ check_status(buf_T *buf) if (wp->w_buffer == buf && wp->w_status_height) { wp->w_redr_status = TRUE; - if (must_redraw < VALID) - must_redraw = VALID; + if (must_redraw < UPD_VALID) + must_redraw = UPD_VALID; } } @@ -1149,7 +1149,7 @@ vim_beep(unsigned val) # endif ) { - redraw_later(CLEAR); + redraw_later(UPD_CLEAR); update_screen(0); redrawcmd(); }