diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-26 19:25:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-26 19:25:05 -0400 |
commit | c7999da69b039829acc3b7da8005224af5bf6ed8 (patch) | |
tree | b17c7d897d95503f1af66efc98e28da1179d798c /Utility/DataUnits.hs | |
parent | a885d67e97c63d8fff657f6eb8d503fd91b0b42c (diff) |
hlint
Diffstat (limited to 'Utility/DataUnits.hs')
-rw-r--r-- | Utility/DataUnits.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/DataUnits.hs b/Utility/DataUnits.hs index 2a936f1fd..7399809eb 100644 --- a/Utility/DataUnits.hs +++ b/Utility/DataUnits.hs @@ -111,7 +111,7 @@ roughSize units short i | i < 0 = '-' : findUnit units' (negate i) | otherwise = findUnit units' i where - units' = reverse $ sort units -- largest first + units' = sortBy (flip compare) units -- largest first findUnit (u@(Unit s _ _):us) i' | i' >= s = showUnit i' u |