mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-02-22 08:29:05 +00:00
Fixed bug - 19 messages total, 18 per page, can't advance to page 2.
This commit is contained in:
parent
017f9abd87
commit
8d7ece7173
@ -7,8 +7,6 @@
|
||||
// TODO:
|
||||
// - BUG: If messages are deleted, selection can be left on an empty line.
|
||||
// Move it to top after P)urge.
|
||||
// - BUG: If there are 19 messages, page 1 shows 1-18, but can't advance
|
||||
// to page 2.
|
||||
// - Update To/From if reply or forward
|
||||
// - Fix terrible scrollback algorithm!!
|
||||
// - Editor for email composition functions
|
||||
@ -1106,7 +1104,7 @@ void keyboard_hdlr(void) {
|
||||
prevselection = selection;
|
||||
++selection;
|
||||
update_highlighted();
|
||||
} else if (first_msg + selection + 1 < total_msgs) {
|
||||
} else if (first_msg + selection - 1 < total_msgs) {
|
||||
first_msg += MSGS_PER_PAGE;
|
||||
read_email_db(first_msg, 0, 0);
|
||||
selection = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user