summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>2008-03-30 22:01:15 +0200
committerDmitry Kurochkin <dmitry.kurochkin@gmail.com>2008-03-30 22:01:15 +0200
commitcc5a00d5fa34caaa5637b8c72262b56800b149ab (patch)
tree06b6ecf0282922884b9c8c79e6f9bfdda810bf1c
parent2cedbfe229a34f4c28b3c573480549013e3a6734 (diff)
downloadxmobar-cc5a00d5fa34caaa5637b8c72262b56800b149ab.tar.gz
xmobar-cc5a00d5fa34caaa5637b8c72262b56800b149ab.tar.bz2
XUtil: fix UTF-8 check.
darcs-hash:20080330200115-903e8-9e68d075abf4de342c3529c93becbae4d2ec700b.gz
-rw-r--r--XUtil.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/XUtil.hsc b/XUtil.hsc
index 0fde3d6..10d5995 100644
--- a/XUtil.hsc
+++ b/XUtil.hsc
@@ -38,7 +38,7 @@ import qualified Graphics.X11.Xlib as Xlib (textExtents, textWidth)
import Graphics.X11.Xlib.Extras
import System.Posix.Types (Fd(..))
import System.IO
-#if defined XFT || defined UTF_8
+#if defined XFT || defined UTF8
import Foreign.C
import qualified System.IO.UTF8 as UTF8 (readFile,hGetLine)
#endif