Mercurial > vim
comparison src/ui.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 | aa55d6d17625 |
children | 3af56224dca6 |
comparison
equal
deleted
inserted
replaced
26335:c12a888d1f63 | 26336:a2e6da79274d |
---|---|
1173 # ifdef FEAT_GUI | 1173 # ifdef FEAT_GUI |
1174 if (gui.in_use) | 1174 if (gui.in_use) |
1175 gui_update_scrollbars(FALSE); | 1175 gui_update_scrollbars(FALSE); |
1176 # endif | 1176 # endif |
1177 } | 1177 } |
1178 #ifdef FEAT_TITLE | 1178 |
1179 // File may have been changed from 'readonly' to 'noreadonly' | 1179 // File may have been changed from 'readonly' to 'noreadonly' |
1180 if (need_maketitle) | 1180 if (need_maketitle) |
1181 maketitle(); | 1181 maketitle(); |
1182 #endif | |
1183 } | 1182 } |
1184 | 1183 |
1185 #if defined(HAVE_INPUT_METHOD) || defined(PROTO) | 1184 #if defined(HAVE_INPUT_METHOD) || defined(PROTO) |
1186 /* | 1185 /* |
1187 * Save current Input Method status to specified place. | 1186 * Save current Input Method status to specified place. |