From 883fae53d9c3d892d39909e06d035860a3e0e45f Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Fri, 27 Feb 2015 03:52:28 +0100 Subject: use setLocale properly Ignore-this: 80ca1041e5e5847f4df086df66237a09 passing in Nothing returns the locale, while Just "" sets the locale according to environment variables (which is what was being done before). Thanks to geekosaur & v_v for finding this. darcs-hash:20150227025228-1499c-c5217002e0bb8561f052d08b72fe67cbdeaaedc4.gz --- src/XMonad/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/XMonad') diff --git a/src/XMonad/Main.hs b/src/XMonad/Main.hs index 1208111..faa8d02 100644 --- a/src/XMonad/Main.hs +++ b/src/XMonad/Main.hs @@ -48,7 +48,7 @@ import System.IO xmonad :: (LayoutClass l Window, Read (l Window)) => XConfig l -> IO () xmonad initxmc = do -- setup locale information from environment - setLocale LC_ALL Nothing + setLocale LC_ALL (Just "") -- ignore SIGPIPE and SIGCHLD installSignalHandlers -- First, wrap the layout in an existential, to keep things pretty: -- cgit v1.2.3