mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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().
This commit is contained in:
@@ -1138,7 +1138,7 @@ wait_return(int redraw)
|
||||
FILE *save_scriptout;
|
||||
|
||||
if (redraw == TRUE)
|
||||
must_redraw = CLEAR;
|
||||
must_redraw = UPD_CLEAR;
|
||||
|
||||
// If using ":silent cmd", don't wait for a return. Also don't set
|
||||
// need_wait_return to do it later.
|
||||
@@ -1362,7 +1362,7 @@ wait_return(int redraw)
|
||||
&& (redraw == TRUE || (msg_scrolled != 0 && redraw != -1)))
|
||||
{
|
||||
starttermcap(); // start termcap before redrawing
|
||||
redraw_later(VALID);
|
||||
redraw_later(UPD_VALID);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2485,8 +2485,8 @@ inc_msg_scrolled(void)
|
||||
}
|
||||
#endif
|
||||
++msg_scrolled;
|
||||
if (must_redraw < VALID)
|
||||
must_redraw = VALID;
|
||||
if (must_redraw < UPD_VALID)
|
||||
must_redraw = UPD_VALID;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user