changeset 20641:a48d24f8726c

(push_key_description): If C >= 128, always use octal representation.
author Kenichi Handa <handa@m17n.org>
date Mon, 12 Jan 1998 05:49:45 +0000
parents 3305df803f6e
children 818677afe7bc
files src/keymap.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Mon Jan 12 05:49:45 1998 +0000
+++ b/src/keymap.c	Mon Jan 12 05:49:45 1998 +0000
@@ -1637,7 +1637,7 @@
       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 @@
       *p++ = 'P';
       *p++ = 'C';
     }
-  else if (c < 256)
+  else if (c < 128)
     *p++ = c;
   else if (c < 512)
     {