From d5272e33cc0af2eadad7e9f0b11524a65eed4cf6 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Fri, 12 Dec 2008 15:34:46 +0000 Subject: [PATCH] (x_display_info_for_name, Fx_open_connection): Set Vwindow_system_version to the real w32 major version. --- src/w32fns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/w32fns.c b/src/w32fns.c index 3fe9622b00..2c93201723 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -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; } -- 2.20.1