]> git.eshelyaron.com Git - emacs.git/commitdiff
(push_key_description): If C >= 128, always use octal representation.
authorKenichi Handa <handa@m17n.org>
Mon, 12 Jan 1998 05:49:45 +0000 (05:49 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 12 Jan 1998 05:49:45 +0000 (05:49 +0000)
src/keymap.c

index 5f24f1b750fd2aeda5211c6519e95d5806884af5..6e9077805f1f62d93734e13afbd645903904143a 100644 (file)
@@ -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)
     {