# HG changeset patch # User Richard M. Stallman # Date 820195092 0 # Node ID 26245345f6f1f10595cd55945fc92fe8b40d20ab # Parent a4eef7470b6b4dc215143a213efcaf4d2c88bfe5 (x_find_modifier_meanings): Fix !X11R4 code to use dpyinfo. diff -r a4eef7470b6b -r 26245345f6f1 src/xterm.c --- 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,