diff src/buffer.c @ 2403:ce5a380d5144 vim73

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.
author Bram Moolenaar <bram@vim.org>
date Sun, 25 Jul 2010 13:42:29 +0200
parents a3aca345aafa
children 68e394361ca3
line wrap: on
line diff
--- 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)