1
0
forked from aniani/vim

patch 8.2.0779: tmode_T not used everywhere

Problem:    Tmode_T not used everywhere.
Solution:   Also use tmode_T for settmode().
This commit is contained in:
Bram Moolenaar
2020-05-17 16:10:11 +02:00
parent d4a5f40c0c
commit f4e16ae041
3 changed files with 4 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ void win_new_shellsize(void);
void shell_resized(void); void shell_resized(void);
void shell_resized_check(void); void shell_resized_check(void);
void set_shellsize(int width, int height, int mustset); void set_shellsize(int width, int height, int mustset);
void settmode(int tmode); void settmode(tmode_T tmode);
void starttermcap(void); void starttermcap(void);
void stoptermcap(void); void stoptermcap(void);
void may_req_termresponse(void); void may_req_termresponse(void);

View File

@@ -3436,7 +3436,7 @@ set_shellsize(int width, int height, int mustset)
* commands and Ex mode). * commands and Ex mode).
*/ */
void void
settmode(int tmode) settmode(tmode_T tmode)
{ {
#ifdef FEAT_GUI #ifdef FEAT_GUI
// don't set the term where gvim was started to any mode // don't set the term where gvim was started to any mode

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
779,
/**/ /**/
778, 778,
/**/ /**/