From: Kenichi Handa Date: Mon, 12 Jan 1998 05:49:45 +0000 (+0000) Subject: (push_key_description): If C >= 128, always use octal representation. X-Git-Tag: emacs-20.3~2433 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=28246d85b1f1349baec82f650937b0eb172a20e8;p=emacs.git (push_key_description): If C >= 128, always use octal representation. --- diff --git a/src/keymap.c b/src/keymap.c index 5f24f1b750f..6e9077805f1 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1637,7 +1637,7 @@ spaces are put between sequence elements, etc.") for (i = 0; i < XSTRING (keys)->size; ) { int c; - int i_before; + int i_before = i; if (STRING_MULTIBYTE (keys)) FETCH_STRING_CHAR_ADVANCE (c, keys, i, i_byte); @@ -1759,7 +1759,7 @@ push_key_description (c, p) *p++ = 'P'; *p++ = 'C'; } - else if (c < 256) + else if (c < 128) *p++ = c; else if (c < 512) {