diff src/xterm.c @ 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 52f469edf216
children dceb33c07f9e
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,