0
0
mirror of https://github.com/vim/vim.git synced 2025-09-02 21:13:50 -04:00

Fix: when resetting both 'title' and 'icon' the title would be set after a

shell command.
Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up.
This commit is contained in:
Bram Moolenaar 2010-07-25 13:42:29 +02:00
parent 8220a6813e
commit bed7beca58
2 changed files with 3 additions and 1 deletions

View File

@ -3134,7 +3134,7 @@ maketitle()
}
need_maketitle = FALSE;
if (!p_title && !p_icon)
if (!p_title && !p_icon && lasttitle == NULL && lasticon == NULL)
return;
if (p_title)

View File

@ -2,6 +2,8 @@ Tests for vertical splits and filler lines in diff mode
STARTTEST
:so small.vim
:" Disable the title to avoid xterm keeping the wrong one.
:set notitle noicon
/^1
yG:new
pkdd:w! Xtest