Skip to content

Commit

Permalink
Fix bug in pager causing some keybindings to be ignoerd because other…
Browse files Browse the repository at this point in the history
… are undefined

darcs-hash:20071014111640-75c98-c4d271f9b033a4f644e1b58cdb2e8842aff198d2.gz
  • Loading branch information
liljencrantz committed Oct 14, 2007
1 parent 89c27c6 commit 25305c6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fish_pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 25305c6

Please sign in to comment.