summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-21 22:12:05 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-21 22:12:05 +0000
commit238a564935abe36832b267f32b5487556c640d00 (patch)
tree7ee3f4d9279f73945f1069e7f6a9b1b059658b27 /src/main.c
parent8f7fd65b249e9680866dab628622fe093ac2abc9 (diff)
downloadvim-git-238a564935abe36832b267f32b5487556c640d00.tar.gz
updated for version 7.0203v7.0203
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 3dc72e15d..755f74ef2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1059,6 +1059,7 @@ main_loop(cmdwin, noexmode)
/* msg_attr_keep() will set keep_msg to NULL, must free the
* string here. */
p = keep_msg;
+ keep_msg = NULL;
msg_attr(p, keep_msg_attr);
vim_free(p);
}
@@ -1169,7 +1170,7 @@ getout(exitval)
for (tp = first_tabpage; tp != NULL; tp = next_tp)
{
next_tp = tp->tp_next;
- for (wp = (tp->tp_topframe == topframe)
+ for (wp = (tp == curtab)
? firstwin : tp->tp_firstwin; wp != NULL; wp = wp->w_next)
{
buf = wp->w_buffer;