aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>1998-01-12 05:49:45 +0000
committerKenichi Handa <[email protected]>1998-01-12 05:49:45 +0000
commit28246d85b1f1349baec82f650937b0eb172a20e8 (patch)
tree869f67e626b80b842b1cd4f6a7dcac9e4442e72c /src/keymap.c
parent21846016a40d21f50441db804cc7b814e851ba67 (diff)
(push_key_description): If C >= 128, always use octal representation.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c
index 5f24f1b750..6e9077805f 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)
{