diff options
author | jao <jao@gnu.org> | 2017-04-29 02:09:24 +0200 |
---|---|---|
committer | jao <jao@gnu.org> | 2017-04-29 02:09:24 +0200 |
commit | e41fd61bdeac8779fa24050cc0d44714f7c90f1d (patch) | |
tree | f724480c121a1246c942ed913f167fa71a9e2564 /src/Localize.hsc | |
parent | 938a8d8307c1c4794c5fcf269c587c3c5c5e70df (diff) | |
download | xmobar-e41fd61bdeac8779fa24050cc0d44714f7c90f1d.tar.gz xmobar-e41fd61bdeac8779fa24050cc0d44714f7c90f1d.tar.bz2 |
hlint configuration
Diffstat (limited to 'src/Localize.hsc')
-rw-r--r-- | src/Localize.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Localize.hsc b/src/Localize.hsc index b3f7d53..34d0fd9 100644 --- a/src/Localize.hsc +++ b/src/Localize.hsc @@ -50,7 +50,7 @@ getLangInfo item = do itemStr <- nl_langinfo item #ifdef UTF8 str <- peekCString itemStr - return $ if (isUTF8Encoded str) then decodeString str else str + return $ if isUTF8Encoded str then decodeString str else str #else peekCString itemStr #endif |