changeset 13884:26245345f6f1

(x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo.
author Richard M. Stallman <rms@gnu.org>
date Thu, 28 Dec 1995 23:58:12 +0000
parents a4eef7470b6b
children bcb436f256e3
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Thu Dec 28 23:36:50 1995 +0000
+++ b/src/xterm.c	Thu Dec 28 23:58:12 1995 +0000
@@ -1564,8 +1564,8 @@
 #ifdef HAVE_X11R4
   XDisplayKeycodes (dpyinfo->display, &min_code, &max_code);
 #else
-  min_code = display->min_keycode;
-  max_code = display->max_keycode;
+  min_code = dpyinfo->display->min_keycode;
+  max_code = dpyinfo->display->max_keycode;
 #endif
 
   syms = XGetKeyboardMapping (dpyinfo->display,