diff options
author | Wagner Riffel <wgrriffel@gmail.com> | 2019-09-03 16:34:09 -0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-04 16:30:57 -1000 |
commit | e28f45b5aa923ade342835cf9ab1ba2e981bc061 (patch) | |
tree | 8af5b1d13ce5a37cf5e6179ce92b2da94f8cf6b3 /widgets | |
parent | 1d04c2a292028019c1f248f34f1e64424ff0541d (diff) |
widgets: gofmt
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/msglist.go | 4 |
1 files 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 { |