]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_display_info_for_name, Fx_open_connection): Set
authorJason Rumney <jasonr@gnu.org>
Fri, 12 Dec 2008 15:34:46 +0000 (15:34 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 12 Dec 2008 15:34:46 +0000 (15:34 +0000)
Vwindow_system_version to the real w32 major version.

src/w32fns.c

index 3fe9622b00750b99ebcab1809a6b505e029e70a3..2c9320172393c5b582f13752f665ec4b043373c7 100644 (file)
@@ -4908,7 +4908,7 @@ x_display_info_for_name (name)
     error ("Cannot connect to server %s", SDATA (name));
 
   w32_in_use = 1;
-  XSETFASTINT (Vwindow_system_version, 3);
+  XSETFASTINT (Vwindow_system_version, w32_major_version);
 
   return dpyinfo;
 }
@@ -4999,7 +4999,7 @@ terminate Emacs if we can't open the connection.  */)
 
   w32_in_use = 1;
 
-  XSETFASTINT (Vwindow_system_version, 3);
+  XSETFASTINT (Vwindow_system_version, w32_major_version);
   return Qnil;
 }