automerge

This commit is contained in:
Georgi Kodinov 2009-06-05 15:30:57 +03:00
commit 5fc05b9528
5 changed files with 11 additions and 5 deletions

View file

@ -699,8 +699,10 @@ rl_function_of_keyseq (keyseq, map, type)
for (i = 0; keyseq && keyseq[i]; i++)
{
unsigned char ic = keyseq[i];
unsigned char uc = keyseq[i];
int ic;
ic= uc;
if (META_CHAR (ic) && _rl_convert_meta_chars_to_ascii)
{
if (map[ESC].type == ISKMAP)

View file

@ -1888,7 +1888,7 @@ rl_character_len (c, pos)
uc = (unsigned char)c;
if (META_CHAR (uc))
if (META_CHAR (c))
return ((_rl_output_meta_chars == 0) ? 4 : 1);
if (uc == '\t')