Skip to content

Commit 083dce7

Browse files
committed
Fix tabs
1 parent 8a3b676 commit 083dce7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Codec/Compression/Zlib/Stream.hsc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -662,10 +662,10 @@ fromCompressionLevel (CompressionLevel n)
662662
--
663663
data WindowBits = WindowBits Int
664664
| DefaultWindowBits -- This constructor must be last to make
665-
-- the Ord instance work. The Ord instance
666-
-- is defined with and used by the tests.
667-
-- It makse sense because the default value
668-
-- is is also the max value at 15.
665+
-- the Ord instance work. The Ord instance
666+
-- is defined with and used by the tests.
667+
-- It makse sense because the default value
668+
-- is is also the max value at 15.
669669

670670
{-# DEPRECATED DefaultWindowBits "Use defaultWindowBits. WindowBits constructors will be hidden in version 0.7" #-}
671671
--FIXME: cannot deprecate constructor named the same as the type
@@ -916,7 +916,7 @@ checkFormatSupported format = do
916916
|| format == GZipOrZlib
917917
-> fail $ "version 1.1.x of the zlib C library does not support the"
918918
++ " 'gzip' format via the in-memory api, only the 'raw' and "
919-
++ " 'zlib' formats."
919+
++ " 'zlib' formats."
920920
_ -> return ()
921921

922922
----------------------
@@ -956,8 +956,8 @@ foreign import ccall unsafe "zlib.h &inflateEnd"
956956
foreign import ccall unsafe "zlib.h deflateInit2_"
957957
c_deflateInit2_ :: StreamState
958958
-> CInt -> CInt -> CInt -> CInt -> CInt
959-
-> Ptr CChar -> CInt
960-
-> IO CInt
959+
-> Ptr CChar -> CInt
960+
-> IO CInt
961961

962962
c_deflateInit2 :: StreamState
963963
-> CInt -> CInt -> CInt -> CInt -> CInt -> IO CInt

zlib.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ library
3939
build-depends: base >= 3 && < 5,
4040
bytestring >= 0.9 && < 0.12
4141
includes: zlib.h
42-
ghc-options: -Wall
42+
ghc-options: -Wall -fwarn-tabs
4343
if !os(windows)
4444
-- Normally we use the the standard system zlib:
4545
extra-libraries: z

0 commit comments

Comments
 (0)