From 4a60f8c52af49e7c6a8e13e9d73f1ca10df3279b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 28 Dec 1995 23:58:12 +0000 Subject: [PATCH] (x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.2