mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
resettitle(): remove conditions (#7360)
These conditions were added in #7358 for no apparent reason. ref https://github.com/neovim/neovim/pull/7358#discussion_r143064448
This commit is contained in:
@@ -3069,13 +3069,9 @@ static bool ti_change(char_u *str, char_u **last)
|
|||||||
/// Set current window title
|
/// Set current window title
|
||||||
void resettitle(void)
|
void resettitle(void)
|
||||||
{
|
{
|
||||||
if (p_icon) {
|
|
||||||
ui_call_set_icon(cstr_as_string((char *)lasticon));
|
ui_call_set_icon(cstr_as_string((char *)lasticon));
|
||||||
}
|
|
||||||
if (p_title || p_icon) {
|
|
||||||
ui_call_set_title(cstr_as_string((char *)lasttitle));
|
ui_call_set_title(cstr_as_string((char *)lasttitle));
|
||||||
ui_flush();
|
ui_flush();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# if defined(EXITFREE)
|
# if defined(EXITFREE)
|
||||||
|
Reference in New Issue
Block a user