From ee2b41303756bdfaa8955a1e1fd55396dda936b0 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Thu, 8 Jan 2015 21:47:45 +0600 Subject: Support for multiple fonts --- src/Bitmap.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Bitmap.hs') diff --git a/src/Bitmap.hs b/src/Bitmap.hs index ec99ad8..55ee42f 100644 --- a/src/Bitmap.hs +++ b/src/Bitmap.hs @@ -54,10 +54,10 @@ data Bitmap = Bitmap { width :: Dimension } updateCache :: Display -> Window -> Map FilePath Bitmap -> FilePath -> - [[(Widget, String, Maybe [Action])]] -> IO (Map FilePath Bitmap) + [[(Widget, String, Int, Maybe [Action])]] -> IO (Map FilePath Bitmap) updateCache dpy win cache iconRoot ps = do - let paths = map (\(Icon p, _, _) -> p) . concatMap (filter icons) $ ps - icons (Icon _, _, _) = True + let paths = map (\(Icon p, _, _, _) -> p) . concatMap (filter icons) $ ps + icons (Icon _, _, _, _) = True icons _ = False expandPath path@('/':_) = path expandPath path@('.':'/':_) = path -- cgit v1.2.3