1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-28 04:38:00 +00:00

Declare local table generic_X_keymap static and constant, and adjust reference to it.

This commit is contained in:
Nick Briggs
2023-01-06 12:26:03 -08:00
parent f18295480f
commit cb441fd8e5
2 changed files with 2 additions and 2 deletions

View File

@@ -337,7 +337,7 @@ static u_char *make_X_keymap(void) {
int lisp_codes_used[256]; /* Keep track of the Lisp key #s we've used */
int last_KEYSYM = -1;
int sym_used = 0;
int *key_sym_pairs = generic_X_keymap;
const int *key_sym_pairs = generic_X_keymap;
int i = 0;
KeySym *mapping;
int codecount, symspercode, minkey, maxkey;