widgets: gofmt

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
This commit is contained in:
Wagner Riffel 2019-09-03 16:34:09 -03:00 committed by Drew DeVault
parent 1d04c2a292
commit e28f45b5aa
1 changed files with 2 additions and 2 deletions

View File

@ -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 {