0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.0972: build failure on some systems

Problem:    Build failure on some systems.
Solution:   Adjust #ifdefs related to the termresponse feature.
This commit is contained in:
Bram Moolenaar
2022-11-29 16:09:18 +00:00
parent 6f2a227565
commit 4e6072b8d3
4 changed files with 49 additions and 38 deletions

View File

@@ -1417,7 +1417,6 @@ set_keep_msg(char_u *s, int attr)
keep_msg_attr = attr;
}
#if defined(FEAT_TERMRESPONSE) || defined(PROTO)
/*
* If there currently is a message being displayed, set "keep_msg" to it, so
* that it will be displayed again after redraw.
@@ -1429,7 +1428,6 @@ set_keep_msg_from_hist(void)
&& (State & MODE_NORMAL))
set_keep_msg(last_msg_hist->msg, last_msg_hist->attr);
}
#endif
/*
* Prepare for outputting characters in the command line.