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().
diff --git a/src/gui.c b/src/gui.c
index 2275189..e1bc73f 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -4516,11 +4516,11 @@
#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 @@
}
// Update the screen display
- update_screen(NOT_VALID);
+ update_screen(UPD_NOT_VALID);
# ifdef FEAT_MENU
gui_update_menus(0);
# endif