summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-14 14:17:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-14 14:17:45 +0100
commita4d158b3c839e96ed98ff87c7b7124ff4518c4ff (patch)
tree42d3a6b65d4ae53a6e078c8f24a5ee9960e3ad24 /src/gui.c
parent28c9f895716cfa8f1220bc41b72a534c0e10cabe (diff)
patch 9.0.0206: redraw flags are not named specificallyv9.0.0206
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui.c b/src/gui.c
index 2275189ba6..e1bc73f782 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -4516,11 +4516,11 @@ gui_do_scroll(void)
#endif
)
{
- int type = VALID;
+ int type = UPD_VALID;
if (pum_visible())
{
- type = NOT_VALID;
+ type = UPD_NOT_VALID;
wp->w_lines_valid = 0;
}
@@ -5527,7 +5527,7 @@ drop_callback(void *cookie)
}
// Update the screen display
- update_screen(NOT_VALID);
+ update_screen(UPD_NOT_VALID);
# ifdef FEAT_MENU
gui_update_menus(0);
# endif