]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0-128 v7.0.128
authorBram Moolenaar <Bram@vim.org>
Tue, 10 Oct 2006 15:35:57 +0000 (15:35 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 10 Oct 2006 15:35:57 +0000 (15:35 +0000)
src/gui.c
src/version.c

index ed8276679684bd8074ff7cb81e03e2182f21373a..f180cc3e22a32a2a37584437d412701e90b57922 100644 (file)
--- 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.
index d0cb708dff661ebc50d885880bd024986080691b..13e3e422b4339bf40b19e7b11d26c52f9f172807 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    128,
 /**/
     127,
 /**/