From e28f45b5aa923ade342835cf9ab1ba2e981bc061 Mon Sep 17 00:00:00 2001 From: Wagner Riffel Date: Tue, 3 Sep 2019 16:34:09 -0300 Subject: [PATCH] widgets: gofmt Signed-off-by: Wagner Riffel --- widgets/msglist.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/msglist.go b/widgets/msglist.go index 39d57e0..8ed716b 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -28,7 +28,7 @@ type MessageList struct { } type msgSorter struct { - uids []uint32 + uids []uint32 store *lib.MessageStore } @@ -40,7 +40,7 @@ func (s *msgSorter) Less(i, j int) bool { msgI := s.store.Messages[s.uids[i]] msgJ := s.store.Messages[s.uids[j]] if msgI == nil && msgJ == nil { - return false; // doesn't matter which order among nulls + return false // doesn't matter which order among nulls } else if msgI == nil && msgJ != nil { return true // say i is before j so we sort i to bottom } else if msgI != nil && msgJ == nil {