summaryrefslogtreecommitdiff
path: root/src/ui.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/ui.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/ui.c')
-rw-r--r--src/ui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui.c b/src/ui.c
index b3d125cd5..524eb82c0 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1175,11 +1175,10 @@ ui_focus_change(
gui_update_scrollbars(FALSE);
# endif
}
-#ifdef FEAT_TITLE
+
// File may have been changed from 'readonly' to 'noreadonly'
if (need_maketitle)
maketitle();
-#endif
}
#if defined(HAVE_INPUT_METHOD) || defined(PROTO)