Fix bug in pager causing some keybindings to be ignoerd because other are undefined

darcs-hash:20071014111640-75c98-c4d271f9b033a4f644e1b58cdb2e8842aff198d2.gz
This commit is contained in:
liljencrantz 2007-10-14 21:16:40 +10:00
parent 89c27c6d9d
commit 25305c6b24

View file

@ -324,8 +324,13 @@ static wint_t readch()
;
int i;
for( i=0; m[i].seq; i++ )
for( i=0; m[i].bnd; i++ )
{
if( !m[i].seq )
{
continue;
}
if( try_sequence(m[i].seq ) )
return m[i].bnd;
}