diff options
author | tv <tv@shackspace.de> | 2014-12-25 13:24:42 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2014-12-25 13:24:42 +0100 |
commit | 7ef5bb81b81cd0533719297bbd71c69590d362e6 (patch) | |
tree | c2d9db2e015e3a834fdbcd3dab072df672c7d8a2 /Notmuch.hs | |
parent | c59800da7b5d35e1a0c30f65802d02df68f5801a (diff) |
Notmuch.drawSearchResult: add default (error) case
Diffstat (limited to 'Notmuch.hs')
-rw-r--r-- | Notmuch.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -251,6 +251,7 @@ drawSearchResult SearchResult{..} = do case T.splitOn "| " searchAuthors of [a,b] -> (T.splitOn ", " a, T.splitOn ", " b) [a] -> (T.splitOn ", " a, []) + x -> error $ "drawSearchResult: error " <> show x a' = map green matchedAuthors b' = map red otherAuthors |