Mercurial > vim
comparison src/drawscreen.c @ 26336:a2e6da79274d v8.2.3699
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
Commit: https://github.com/vim/vim/commit/651fca85c71a4c5807f8f828f9ded30fbd754325
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 29 20:39:38 2021 +0000
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 29 Nov 2021 21:45:04 +0100 |
parents | 37852c2bf3d4 |
children | d413104a94c8 |
comparison
equal
deleted
inserted
replaced
26335:c12a888d1f63 | 26336:a2e6da79274d |
---|---|
608 #endif | 608 #endif |
609 #ifdef FEAT_CMDL_INFO | 609 #ifdef FEAT_CMDL_INFO |
610 win_redr_ruler(curwin, always, FALSE); | 610 win_redr_ruler(curwin, always, FALSE); |
611 #endif | 611 #endif |
612 | 612 |
613 #ifdef FEAT_TITLE | |
614 if (need_maketitle | 613 if (need_maketitle |
615 # ifdef FEAT_STL_OPT | 614 #ifdef FEAT_STL_OPT |
616 || (p_icon && (stl_syntax & STL_IN_ICON)) | 615 || (p_icon && (stl_syntax & STL_IN_ICON)) |
617 || (p_title && (stl_syntax & STL_IN_TITLE)) | 616 || (p_title && (stl_syntax & STL_IN_TITLE)) |
618 # endif | 617 #endif |
619 ) | 618 ) |
620 maketitle(); | 619 maketitle(); |
621 #endif | 620 |
622 // Redraw the tab pages line if needed. | 621 // Redraw the tab pages line if needed. |
623 if (redraw_tabline) | 622 if (redraw_tabline) |
624 draw_tabline(); | 623 draw_tabline(); |
625 } | 624 } |
626 | 625 |