Karsten Hopp 57502c
To: vim-dev@vim.org
Karsten Hopp 57502c
Subject: Patch 7.0.027 (extra)
Karsten Hopp 57502c
Fcc: outbox
Karsten Hopp 57502c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 57502c
Mime-Version: 1.0
Karsten Hopp 57502c
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 57502c
Content-Transfer-Encoding: 8bit
Karsten Hopp 57502c
------------
Karsten Hopp 57502c
Karsten Hopp 57502c
Patch 7.0.027 (extra)
Karsten Hopp 57502c
Problem:    Win32: When compiled with SNIFF gvim may hang on exit.
Karsten Hopp 57502c
Solution:   Translate and dispatch the WM_USER message. (Mathias Michaelis)
Karsten Hopp 57502c
Files:	    src/gui_w48.c
Karsten Hopp 57502c
Karsten Hopp 57502c
Karsten Hopp 57502c
*** ../vim-7.0.026/src/gui_w48.c	Thu Apr 27 01:52:16 2006
Karsten Hopp 57502c
--- src/gui_w48.c	Sat Jun 17 13:23:26 2006
Karsten Hopp 57502c
***************
Karsten Hopp 57502c
*** 1664,1670 ****
Karsten Hopp 57502c
--- 1664,1674 ----
Karsten Hopp 57502c
  	/* request is handled in normal.c */
Karsten Hopp 57502c
      }
Karsten Hopp 57502c
      if (msg.message == WM_USER)
Karsten Hopp 57502c
+     {
Karsten Hopp 57502c
+ 	MyTranslateMessage(&msg)
Karsten Hopp 57502c
+ 	DispatchMessage(&msg;;
Karsten Hopp 57502c
  	return;
Karsten Hopp 57502c
+     }
Karsten Hopp 57502c
  #endif
Karsten Hopp 57502c
  
Karsten Hopp 57502c
  #ifdef MSWIN_FIND_REPLACE
Karsten Hopp 57502c
*** ../vim-7.0.026/src/version.c	Thu Jun 22 18:06:48 2006
Karsten Hopp 57502c
--- src/version.c	Thu Jun 22 18:20:40 2006
Karsten Hopp 57502c
***************
Karsten Hopp 57502c
*** 668,669 ****
Karsten Hopp 57502c
--- 668,671 ----
Karsten Hopp 57502c
  {   /* Add new patch number below this line */
Karsten Hopp 57502c
+ /**/
Karsten Hopp 57502c
+     27,
Karsten Hopp 57502c
  /**/
Karsten Hopp 57502c
Karsten Hopp 57502c
-- 
Karsten Hopp 57502c
SIGFUN -- signature too funny (core dumped)
Karsten Hopp 57502c
Karsten Hopp 57502c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 57502c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 57502c
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 57502c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///