summaryrefslogtreecommitdiff
path: root/src/optionstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/optionstr.c')
-rw-r--r--src/optionstr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index 100b0f465..705e86089 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -2205,10 +2205,7 @@ ambw_end:
}
// 'wincolor'
else if (varp == &curwin->w_p_wcr)
- {
- if (curwin->w_buffer->b_term != NULL)
- term_update_colors(curwin->w_buffer->b_term);
- }
+ term_update_wincolor(curwin);
# if defined(MSWIN)
// 'termwintype'
else if (varp == &p_twt)