Mercurial > vim
diff src/register.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 | d564107db756 |
children | 31c598083364 |
line wrap: on
line diff
--- a/src/register.c +++ b/src/register.c @@ -391,7 +391,7 @@ do_record(int c) { // Enable macro indicator temporarily set_option_value((char_u *)"ch", 1L, NULL, 0); - update_screen(VALID); + update_screen(UPD_VALID); changed_cmdheight = TRUE; } @@ -427,7 +427,7 @@ do_record(int c) { // Restore cmdheight set_option_value((char_u *)"ch", 0L, NULL, 0); - redraw_all_later(CLEAR); + redraw_all_later(UPD_CLEAR); } } return retval;