aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account/export-mbox.go
diff options
context:
space:
mode:
authorakspecs <akspecs@gmail.com>2022-07-23 21:03:44 -0500
committerRobin Jarry <robin@jarry.cc>2022-07-24 23:05:07 +0200
commit0f86666f52620051aaf10cc85c4cacc20af383cb (patch)
tree23bfa97c724ef8f3758cd195440c423e571e7728 /commands/account/export-mbox.go
parent4036f696ad359d503922c67b3a32d212a1bda987 (diff)
downloadaerc-0f86666f52620051aaf10cc85c4cacc20af383cb.tar.gz
msgstore: check if message index < 0, select 0 if so
Calling :prev without this check can cause the index to go below 0 if the current index is smaller than the value being scrolled / incremented by. This results in the email selector wrapping around from the top to the bottom most email in the mailbox folder due to changes in ec150f0 'store: fix Select behaviour'. Signed-off-by: akspecs <akspecs@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'commands/account/export-mbox.go')
0 files changed, 0 insertions, 0 deletions