mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-patch:9.0.0206: redraw flags are not named specifically (#19913)
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
a4d158b3c8
This commit is contained in:
@@ -1222,7 +1222,7 @@ void ml_recover(bool checkext)
|
||||
msg_puts(_("\nYou may want to delete the .swp file now.\n\n"));
|
||||
cmdline_row = msg_row;
|
||||
}
|
||||
redraw_curbuf_later(NOT_VALID);
|
||||
redraw_curbuf_later(UPD_NOT_VALID);
|
||||
|
||||
theend:
|
||||
xfree(fname_used);
|
||||
@@ -2453,7 +2453,7 @@ int ml_replace(linenr_T lnum, char *line, bool copy)
|
||||
/// Do not use it after calling ml_replace().
|
||||
///
|
||||
/// Check: The caller of this function should probably also call
|
||||
/// changed_lines(), unless update_screen(NOT_VALID) is used.
|
||||
/// changed_lines(), unless update_screen(UPD_NOT_VALID) is used.
|
||||
///
|
||||
/// @return FAIL for failure, OK otherwise
|
||||
int ml_replace_buf(buf_T *buf, linenr_T lnum, char_u *line, bool copy)
|
||||
|
Reference in New Issue
Block a user