diff options
author | ckelsel <ckelsel@hotmail.com> | 2017-10-08 09:35:23 +0800 |
---|---|---|
committer | ckelsel <ckelsel@hotmail.com> | 2017-10-08 09:35:23 +0800 |
commit | 76606b6bc587fddcf990cf40a39521750734a80d (patch) | |
tree | 2810779733954dccec0bae739768b8d4e4186d4c /src/nvim/buffer.c | |
parent | f2b9ccec106b6c4619cc762ea77546810f1cbfd4 (diff) | |
parent | 032b088c848585e60e8dc1a210f240bad6bb3387 (diff) | |
download | rneovim-76606b6bc587fddcf990cf40a39521750734a80d.tar.gz rneovim-76606b6bc587fddcf990cf40a39521750734a80d.tar.bz2 rneovim-76606b6bc587fddcf990cf40a39521750734a80d.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index fbfb4e02ea..fc5bb90973 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -3069,13 +3069,9 @@ static bool ti_change(char_u *str, char_u **last) /// Set current window title void resettitle(void) { - if (p_icon) { - ui_call_set_icon(cstr_as_string((char *)lasticon)); - } - if (p_title || p_icon) { - ui_call_set_title(cstr_as_string((char *)lasttitle)); - ui_flush(); - } + ui_call_set_icon(cstr_as_string((char *)lasticon)); + ui_call_set_title(cstr_as_string((char *)lasttitle)); + ui_flush(); } # if defined(EXITFREE) |