diff options
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 |