From: Kenichi Handa Date: Thu, 18 Nov 1999 05:10:13 +0000 (+0000) Subject: (Fsingle_key_description): Use KEY_DESCRIPTION_SIZE to X-Git-Tag: emacs-pretest-21.0.90~6069 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2d9586a77705a15da93d382c440dbc49096a3f6;p=emacs.git (Fsingle_key_description): Use KEY_DESCRIPTION_SIZE to allocate memory for push_key_description. (describe_buffer_bindings): Likewise. --- diff --git a/src/keymap.c b/src/keymap.c index cad670455a1..5070fc1d1c8 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1949,7 +1949,7 @@ Control characters turn into C-whatever, etc.") } else { - char tem[30]; + char tem[KEY_DESCRIPTION_SIZE]; *push_key_description (XUINT (key), tem) = 0; return build_string (tem); @@ -2414,7 +2414,7 @@ You type Translation\n\ for (c = 0; c < translate_len; c++) if (translate[c] != c) { - char buf[30]; + char buf[KEY_DESCRIPTION_SIZE]; char *bufend; if (alternate_heading)