summaryrefslogtreecommitdiff
path: root/widgets/msglist.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r--widgets/msglist.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go
index e9603ca..395fb54 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -92,7 +92,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
threads := store.Threads
counter := len(store.Uids())
- for i := len(threads) - 1; i >= 0; i-- {
+ for i := 0; i < len(threads); i++ {
var lastSubject string
threads[i].Walk(func(t *types.Thread, _ int, currentErr error) error {
if currentErr != nil {