Mercurial > emacs
comparison src/keymap.c @ 25965:a31ee90585ca
(Fsingle_key_description): Make tem big enough.
(describe_buffer_bindings): Make buf big enough.
author | Phillip Rulon <pjr@gnu.org> |
---|---|
date | Sun, 10 Oct 1999 01:37:32 +0000 |
parents | 0d701c4484e3 |
children | b7aa6ac26872 |
comparison
equal
deleted
inserted
replaced
25964:2a98301789cd | 25965:a31ee90585ca |
---|---|
1950 CHECK_STRING (name, 0); | 1950 CHECK_STRING (name, 0); |
1951 return concat2 (build_string ("Character set "), name); | 1951 return concat2 (build_string ("Character set "), name); |
1952 } | 1952 } |
1953 else | 1953 else |
1954 { | 1954 { |
1955 char tem[20]; | 1955 char tem[30]; |
1956 | 1956 |
1957 *push_key_description (XUINT (key), tem) = 0; | 1957 *push_key_description (XUINT (key), tem) = 0; |
1958 return build_string (tem); | 1958 return build_string (tem); |
1959 } | 1959 } |
1960 } | 1960 } |
2421 int translate_len = XSTRING (Vkeyboard_translate_table)->size; | 2421 int translate_len = XSTRING (Vkeyboard_translate_table)->size; |
2422 | 2422 |
2423 for (c = 0; c < translate_len; c++) | 2423 for (c = 0; c < translate_len; c++) |
2424 if (translate[c] != c) | 2424 if (translate[c] != c) |
2425 { | 2425 { |
2426 char buf[20]; | 2426 char buf[30]; |
2427 char *bufend; | 2427 char *bufend; |
2428 | 2428 |
2429 if (alternate_heading) | 2429 if (alternate_heading) |
2430 { | 2430 { |
2431 insert_string (alternate_heading); | 2431 insert_string (alternate_heading); |