diff options
| author | Jason Rumney | 2008-12-12 15:34:46 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-12-12 15:34:46 +0000 |
| commit | d5272e33cc0af2eadad7e9f0b11524a65eed4cf6 (patch) | |
| tree | 72f5931fa3abd804a8a092bde7d6334f50adaaef | |
| parent | 2c6ee63db591621ec3ab801cffe501cb3527ee39 (diff) | |
| download | emacs-d5272e33cc0af2eadad7e9f0b11524a65eed4cf6.tar.gz emacs-d5272e33cc0af2eadad7e9f0b11524a65eed4cf6.zip | |
(x_display_info_for_name, Fx_open_connection): Set
Vwindow_system_version to the real w32 major version.
| -rw-r--r-- | src/w32fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 3fe9622b007..2c932017239 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -4908,7 +4908,7 @@ x_display_info_for_name (name) | |||
| 4908 | error ("Cannot connect to server %s", SDATA (name)); | 4908 | error ("Cannot connect to server %s", SDATA (name)); |
| 4909 | 4909 | ||
| 4910 | w32_in_use = 1; | 4910 | w32_in_use = 1; |
| 4911 | XSETFASTINT (Vwindow_system_version, 3); | 4911 | XSETFASTINT (Vwindow_system_version, w32_major_version); |
| 4912 | 4912 | ||
| 4913 | return dpyinfo; | 4913 | return dpyinfo; |
| 4914 | } | 4914 | } |
| @@ -4999,7 +4999,7 @@ terminate Emacs if we can't open the connection. */) | |||
| 4999 | 4999 | ||
| 5000 | w32_in_use = 1; | 5000 | w32_in_use = 1; |
| 5001 | 5001 | ||
| 5002 | XSETFASTINT (Vwindow_system_version, 3); | 5002 | XSETFASTINT (Vwindow_system_version, w32_major_version); |
| 5003 | return Qnil; | 5003 | return Qnil; |
| 5004 | } | 5004 | } |
| 5005 | 5005 | ||