]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo.
authorRichard M. Stallman <rms@gnu.org>
Thu, 28 Dec 1995 23:58:12 +0000 (23:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 28 Dec 1995 23:58:12 +0000 (23:58 +0000)
src/xterm.c

index 6002f9cecc794988e55bfdb343291c203ca85ee7..eade5d759de871de9fe18834159deed8e7233ee9 100644 (file)
@@ -1564,8 +1564,8 @@ x_find_modifier_meanings (dpyinfo)
 #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,