diff src/w32fns.c @ 100380:5111bebfbd1c

(x_display_info_for_name, Fx_open_connection): Set Vwindow_system_version to the real w32 major version.
author Jason Rumney <jasonr@gnu.org>
date Fri, 12 Dec 2008 15:34:46 +0000
parents eccf5258acaf
children 389db2f016a4
line wrap: on
line diff
--- a/src/w32fns.c	Fri Dec 12 15:26:46 2008 +0000
+++ b/src/w32fns.c	Fri Dec 12 15:34:46 2008 +0000
@@ -4908,7 +4908,7 @@
     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 @@
 
   w32_in_use = 1;
 
-  XSETFASTINT (Vwindow_system_version, 3);
+  XSETFASTINT (Vwindow_system_version, w32_major_version);
   return Qnil;
 }