summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-17 16:10:11 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-17 16:10:11 +0200
commitf4e16ae041962555316a6953df30a45f4c45be6a (patch)
treef7534de9f2105b58af6cb50f876c9ae694725d14
parentd4a5f40c0cc45fdfac01df0e408d557006eb0206 (diff)
downloadvim-git-f4e16ae041962555316a6953df30a45f4c45be6a.tar.gz
patch 8.2.0779: tmode_T not used everywherev8.2.0779
Problem: Tmode_T not used everywhere. Solution: Also use tmode_T for settmode().
-rw-r--r--src/proto/term.pro2
-rw-r--r--src/term.c2
-rw-r--r--src/version.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/proto/term.pro b/src/proto/term.pro
index 4ac2858ab..fa7c69d9f 100644
--- a/src/proto/term.pro
+++ b/src/proto/term.pro
@@ -41,7 +41,7 @@ void win_new_shellsize(void);
void shell_resized(void);
void shell_resized_check(void);
void set_shellsize(int width, int height, int mustset);
-void settmode(int tmode);
+void settmode(tmode_T tmode);
void starttermcap(void);
void stoptermcap(void);
void may_req_termresponse(void);
diff --git a/src/term.c b/src/term.c
index a57522707..11972a15b 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3436,7 +3436,7 @@ set_shellsize(int width, int height, int mustset)
* commands and Ex mode).
*/
void
-settmode(int tmode)
+settmode(tmode_T tmode)
{
#ifdef FEAT_GUI
// don't set the term where gvim was started to any mode
diff --git a/src/version.c b/src/version.c
index fa05a76cd..8e91aea32 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 779,
+/**/
778,
/**/
777,