diff src/gui_w32.c @ 2616:73d947c20291 v7.3.038

updated for version 7.3.038 Problem: v:windowid isn't set on MS-Windows. Solution: Set it to the window handle. (Chris Sutcliffe)
author Bram Moolenaar <bram@vim.org>
date Wed, 27 Oct 2010 12:33:17 +0200
parents 56ecdb792c33
children 951641b8784d
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1573,6 +1573,11 @@ gui_mch_init(void)
 # endif
 #endif
 
+#ifdef FEAT_EVAL
+    /* set the v:windowid variable */
+    set_vim_var_nr(VV_WINDOWID, (long)s_hwnd);
+#endif
+
 theend:
     /* Display any pending error messages */
     display_errors();