forked from aniani/vim
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:
@@ -4540,7 +4540,6 @@ gui_mch_set_shellsize(int width, int height,
|
||||
gui_mch_update();
|
||||
}
|
||||
|
||||
#if defined(FEAT_TITLE) || defined(PROTO)
|
||||
void
|
||||
gui_mch_settitle(char_u *title, char_u *icon UNUSED)
|
||||
{
|
||||
@@ -4552,7 +4551,6 @@ gui_mch_settitle(char_u *title, char_u *icon UNUSED)
|
||||
if (output_conv.vc_type != CONV_NONE)
|
||||
vim_free(title);
|
||||
}
|
||||
#endif // FEAT_TITLE
|
||||
|
||||
#if defined(FEAT_MENU) || defined(PROTO)
|
||||
void
|
||||
|
Reference in New Issue
Block a user