]> granicus.if.org Git - mutt/commit
Fix pager mini-index drawing when $pager_index_lines = 1 and $status_on_top.
authorKevin McCarthy <kevin@8t8.us>
Sat, 30 Apr 2016 20:05:43 +0000 (13:05 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sat, 30 Apr 2016 20:05:43 +0000 (13:05 -0700)
commit165dd9b69b016d4625263d9b8c46d8e82855afe5
tree1b72cf9d0ff606ad336734bdbb79da76ae38f714
parent7ad81c5f12a4e91ba4b009a32a961105930e94bb
Fix pager mini-index drawing when $pager_index_lines = 1 and $status_on_top.

When $pager_index_lines is 1, there is room for the index status line,
but not for any actual index entries.  The index redraw part was
always calling menu_redraw_current() which doesn't actually check if
there is room for the current row.

This bug only shows up with $status_on_top, due to the order things
are redrawn.
pager.c