From: Richard M. Stallman Date: Thu, 28 Dec 1995 23:58:12 +0000 (+0000) Subject: (x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo. X-Git-Tag: emacs-19.34~1976 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a60f8c52af49e7c6a8e13e9d73f1ca10df3279b;p=emacs.git (x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo. --- diff --git a/src/xterm.c b/src/xterm.c index 6002f9cecc7..eade5d759de 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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,