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/main.c b/src/main.c
index 2ffee14..c6430aa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -686,7 +686,7 @@
&& !gui.in_use
#endif
)
- must_redraw = CLEAR;
+ must_redraw = UPD_CLEAR;
else
{
screenclear(); // clear screen
@@ -788,7 +788,7 @@
#endif
RedrawingDisabled = 0;
- redraw_all_later(NOT_VALID);
+ redraw_all_later(UPD_NOT_VALID);
no_wait_return = FALSE;
// 'autochdir' has been postponed
@@ -1412,7 +1412,7 @@
validate_cursor();
if (VIsual_active)
- update_curbuf(INVERTED); // update inverted part
+ update_curbuf(UPD_INVERTED); // update inverted part
else if (must_redraw)
{
mch_disable_flush(); // Stop issuing gui_mch_flush().