summaryrefslogtreecommitdiff
path: root/src/autocmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-29 20:39:38 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-29 20:39:38 +0000
commit651fca85c71a4c5807f8f828f9ded30fbd754325 (patch)
tree8e8524432d917e2657b7717aeb40823b21b1c38c /src/autocmd.c
parent0c359af5c0fd106d3f57cc0bb7cef1c89b5e1e10 (diff)
downloadvim-git-651fca85c71a4c5807f8f828f9ded30fbd754325.tar.gz
patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
Diffstat (limited to 'src/autocmd.c')
-rw-r--r--src/autocmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/autocmd.c b/src/autocmd.c
index ac21196b9..5ec911ab7 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -2253,10 +2253,8 @@ apply_autocmds_group(
|| event == EVENT_VIMLEAVE
|| event == EVENT_VIMLEAVEPRE))
{
-#ifdef FEAT_TITLE
if (curbuf->b_changed != save_changed)
need_maketitle = TRUE;
-#endif
curbuf->b_changed = save_changed;
}