From: Bram Moolenaar Date: Sun, 17 May 2020 14:10:11 +0000 (+0200) Subject: patch 8.2.0779: tmode_T not used everywhere X-Git-Tag: v8.2.0779 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4e16ae041962555316a6953df30a45f4c45be6a;p=vim patch 8.2.0779: tmode_T not used everywhere Problem: Tmode_T not used everywhere. Solution: Also use tmode_T for settmode(). --- 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 @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 779, /**/ 778, /**/