diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-28 14:20:02 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-28 14:20:02 -0400 |
commit | 694a33e91b290373649594688ad880203d140dcb (patch) | |
tree | b2277f0a1db9f246a9bc0e3f8773673c908b27c0 /LocationLog.hs | |
parent | ecfbc01ff8b55d4cbe02c02c604264a627e759bf (diff) |
syntax tweaks
Diffstat (limited to 'LocationLog.hs')
-rw-r--r-- | LocationLog.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LocationLog.hs b/LocationLog.hs index 10a637708..f92dee652 100644 --- a/LocationLog.hs +++ b/LocationLog.hs @@ -163,6 +163,6 @@ mapLog map log = then Map.insert (uuid log) log map else map where - better = case (Map.lookup (uuid log) map) of + better = case Map.lookup (uuid log) map of Just l -> (date l <= date log) Nothing -> True |