]> granicus.if.org Git - vim/commitdiff
patch 8.2.0779: tmode_T not used everywhere v8.2.0779
authorBram Moolenaar <Bram@vim.org>
Sun, 17 May 2020 14:10:11 +0000 (16:10 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 17 May 2020 14:10:11 +0000 (16:10 +0200)
Problem:    Tmode_T not used everywhere.
Solution:   Also use tmode_T for settmode().

src/proto/term.pro
src/term.c
src/version.c

index 4ac2858ab2f3e2236ae0860f17e5e685ed0da2f1..fa7c69d9f36130dfef8aef8c5b28f57f45ba7a18 100644 (file)
@@ -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);
index a575227072519dab440ec54424d75987340e44ab..11972a15b0cd4eaf7c8ae4bae506ab618f5263dd 100644 (file)
@@ -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
index fa05a76cd7b534a418125a5726fd24b6fd72aafb..8e91aea32738354029045127d81a767b1edfb8b8 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    779,
 /**/
     778,
 /**/