changeset 20450:d5d89c24eec7 v8.2.0779

patch 8.2.0779: tmode_T not used everywhere Commit: https://github.com/vim/vim/commit/f4e16ae041962555316a6953df30a45f4c45be6a Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 17 16:10:11 2020 +0200 patch 8.2.0779: tmode_T not used everywhere Problem: Tmode_T not used everywhere. Solution: Also use tmode_T for settmode().
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 May 2020 16:15:04 +0200
parents 3f2560fc4bbc
children 1b223803fdb6
files src/proto/term.pro src/term.c src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- a/src/term.c
+++ b/src/term.c
@@ -3436,7 +3436,7 @@ set_shellsize(int width, int height, int
  * 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
--- 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,