aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--XMonad/Util/Font.hsc4
1 files changed, 2 insertions, 2 deletions
diff --git a/XMonad/Util/Font.hsc b/XMonad/Util/Font.hsc
index be6b59e..e9484e6 100644
--- a/XMonad/Util/Font.hsc
+++ b/XMonad/Util/Font.hsc
@@ -104,9 +104,9 @@ initXMF s =
else
#endif
#ifdef UTF8
- (initUtf8Font s >>= (return . Utf8))
+ fmap Utf8 $ initUtf8Font s
#else
- (initCoreFont s >>= (return . Core))
+ fmap Core $ initCoreFont s
#endif
#ifdef XFT
where xftPrefix = "xft:"