0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4355: unnecessary call to check_colorcolumn()

Problem:    Unnecessary call to check_colorcolumn().
Solution:   Remove the call. (Sean Dewar, closes #9748)
This commit is contained in:
Sean Dewar
2022-02-12 11:51:25 +00:00
committed by Bram Moolenaar
parent d68b2fc034
commit 0f7ff851cb
3 changed files with 3 additions and 5 deletions

View File

@@ -5604,7 +5604,7 @@ win_copy_options(win_T *wp_from, win_T *wp_to)
* After copying window options: update variables depending on options. * After copying window options: update variables depending on options.
*/ */
void void
after_copy_winopt(win_T *wp UNUSED) after_copy_winopt(win_T *wp)
{ {
#ifdef FEAT_LINEBREAK #ifdef FEAT_LINEBREAK
briopt_check(wp); briopt_check(wp);

View File

@@ -750,6 +750,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 */
/**/
4355,
/**/ /**/
4354, 4354,
/**/ /**/

View File

@@ -1414,10 +1414,6 @@ win_init(win_T *newp, win_T *oldp, int flags UNUSED)
#endif #endif
win_init_some(newp, oldp); win_init_some(newp, oldp);
#ifdef FEAT_SYN_HL
check_colorcolumn(newp);
#endif
#ifdef FEAT_TERMINAL #ifdef FEAT_TERMINAL
term_update_wincolor(newp); term_update_wincolor(newp);
#endif #endif