0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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)