mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-10-01 21:56:43 +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:
|
// TODO:
|
||||||
// - BUG: If messages are deleted, selection can be left on an empty line.
|
// - BUG: If messages are deleted, selection can be left on an empty line.
|
||||||
// Move it to top after P)urge.
|
// 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
|
// - Update To/From if reply or forward
|
||||||
// - Fix terrible scrollback algorithm!!
|
// - Fix terrible scrollback algorithm!!
|
||||||
// - Editor for email composition functions
|
// - Editor for email composition functions
|
||||||
@ -1106,7 +1104,7 @@ void keyboard_hdlr(void) {
|
|||||||
prevselection = selection;
|
prevselection = selection;
|
||||||
++selection;
|
++selection;
|
||||||
update_highlighted();
|
update_highlighted();
|
||||||
} else if (first_msg + selection + 1 < total_msgs) {
|
} else if (first_msg + selection - 1 < total_msgs) {
|
||||||
first_msg += MSGS_PER_PAGE;
|
first_msg += MSGS_PER_PAGE;
|
||||||
read_email_db(first_msg, 0, 0);
|
read_email_db(first_msg, 0, 0);
|
||||||
selection = 1;
|
selection = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user