From b314853838a6a3239a301014d986f7cc99318e4d Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 13 Aug 2022 18:24:48 +0100 Subject: fix: default to textOffset for missing textOffsets entries --- src/Xmobar/X11/Loop.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Xmobar/X11/Loop.hs b/src/Xmobar/X11/Loop.hs index 631855c..2d97733 100644 --- a/src/Xmobar/X11/Loop.hs +++ b/src/Xmobar/X11/Loop.hs @@ -81,7 +81,7 @@ x11Loop conf = do fl <- mapM (initFont d) (additionalFonts conf) let ic = Map.empty to = textOffset conf - ts = textOffsets conf ++ replicate (length fl) (-1) + ts = textOffsets conf ++ replicate (length fl) to #ifdef XFT xftInitFtLibrary #endif -- cgit v1.2.3