mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
This commit is contained in:
@@ -1669,9 +1669,7 @@ nb_do_cmd(
|
||||
buf->bufp = curbuf;
|
||||
buf->initDone = TRUE;
|
||||
do_update = 1;
|
||||
#if defined(FEAT_TITLE)
|
||||
maketitle();
|
||||
#endif
|
||||
#if defined(FEAT_MENU) && defined(FEAT_GUI)
|
||||
if (gui.in_use)
|
||||
gui_update_menus(0);
|
||||
@@ -1748,9 +1746,7 @@ nb_do_cmd(
|
||||
{
|
||||
check_status(buf->bufp);
|
||||
redraw_tabline = TRUE;
|
||||
#ifdef FEAT_TITLE
|
||||
maketitle();
|
||||
#endif
|
||||
update_screen(0);
|
||||
}
|
||||
// =====================================================================
|
||||
|
Reference in New Issue
Block a user