summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-10-10 15:35:57 +0000
committerBram Moolenaar <Bram@vim.org>2006-10-10 15:35:57 +0000
commitda68cf33d83ff54545a209e6b5c1e3eb164e76d7 (patch)
tree7d819050e79e09bdfa42f1c3c12efcbea071eb8b
parent31e97bf0ee3149f11826032817c0c84cbca3a65c (diff)
downloadvim-git-da68cf33d83ff54545a209e6b5c1e3eb164e76d7.tar.gz
updated for version 7.0-128v7.0.128
-rw-r--r--src/gui.c5
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/gui.c b/src/gui.c
index ed8276679..f180cc3e2 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -637,6 +637,7 @@ gui_exit(rc)
#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(FEAT_GUI_MSWIN) \
|| defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC) || defined(PROTO)
+# define NEED_GUI_UPDATE_SCREEN 1
/*
* Called when the GUI shell is closed by the user. If there are no changed
* files Vim exits, otherwise there will be a dialog to ask the user what to
@@ -665,8 +666,7 @@ gui_shell_closed()
exiting = FALSE;
cmdmod = save_cmdmod;
- setcursor(); /* position cursor */
- out_flush();
+ gui_update_screen(); /* redraw, window may show changed buffer */
}
#endif
@@ -4823,6 +4823,7 @@ no_console_input()
#endif
#if defined(FIND_REPLACE_DIALOG) || defined(FEAT_SUN_WORKSHOP) \
+ || defined(NEED_GUI_UPDATE_SCREEN) \
|| defined(PROTO)
/*
* Update the current window and the screen.
diff --git a/src/version.c b/src/version.c
index d0cb708df..13e3e422b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 128,
+/**/
127,
/**/
126,