Skip to content

Commit

Permalink
contain display_bottom_line
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamuray committed Feb 10, 2011
1 parent 5a21bf6 commit 176f5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter-select
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function filter-select() {
(( cand_num++ ))

# out of display
if (( cand_num < display_head_line || cand_num > display_bottom_line )); then
if (( cand_num < display_head_line || cand_num >= display_bottom_line )); then
continue
fi

Expand Down

0 comments on commit 176f5cb

Please sign in to comment.