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/search.c b/src/search.c
index 2c045fe..9f1a80a 100644
--- a/src/search.c
+++ b/src/search.c
@@ -253,7 +253,7 @@
#ifdef FEAT_SEARCH_EXTRA
// If 'hlsearch' set and search pat changed: need redraw.
if (p_hls)
- redraw_all_later(SOME_VALID);
+ redraw_all_later(UPD_SOME_VALID);
set_no_hlsearch(FALSE);
#endif
}
@@ -577,7 +577,7 @@
# ifdef FEAT_SEARCH_EXTRA
// If 'hlsearch' set and search pat changed: need redraw.
if (p_hls && idx == last_idx && !no_hlsearch)
- redraw_all_later(SOME_VALID);
+ redraw_all_later(UPD_SOME_VALID);
# endif
}
#endif
@@ -1284,7 +1284,7 @@
*/
if (no_hlsearch && !(options & SEARCH_KEEP))
{
- redraw_all_later(SOME_VALID);
+ redraw_all_later(UPD_SOME_VALID);
set_no_hlsearch(FALSE);
}
#endif
@@ -2800,7 +2800,7 @@
if (dollar_vcol >= 0 && dollar_vcol == curwin->w_virtcol)
dollar_vcol = -1;
++curwin->w_virtcol; // do display ')' just before "$"
- update_screen(VALID); // show the new char first
+ update_screen(UPD_VALID); // show the new char first
save_dollar_vcol = dollar_vcol;
#ifdef CURSOR_SHAPE
@@ -3056,7 +3056,7 @@
// end are still the same, and the selection needs to be owned
clip_star.vmode = NUL;
#endif
- redraw_curbuf_later(INVERTED);
+ redraw_curbuf_later(UPD_INVERTED);
showmode();
return OK;
@@ -3877,7 +3877,7 @@
{
// Return cursor to where we were
validate_cursor();
- redraw_later(VALID);
+ redraw_later(UPD_VALID);
win_enter(curwin_save, TRUE);
}
# ifdef FEAT_PROP_POPUP