diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-25 13:42:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-25 13:42:29 +0200 |
commit | bed7beca58549a98ccebe21d339f0bb461e93f5f (patch) | |
tree | 526cfb9eb68007b53d3838718740c4916403938f /src/buffer.c | |
parent | 8220a6813ed6889b4aefd2b313ff5e0875eb7952 (diff) | |
download | vim-git-bed7beca58549a98ccebe21d339f0bb461e93f5f.tar.gz |
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.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 94e0b2e0b..22fa13616 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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) |