diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index fdaf0de..73ec12a 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -126,7 +126,7 @@ file sa conf mfp = do Just path | not (null new) && old /= new -> IO.withFile path IO.WriteMode $ \h -> do let nl = configNewline conf - let mode = IO.NewlineMode nl nl + let mode = IO.NewlineMode IO.nativeNewline nl IO.hSetNewlineMode h mode IO.hPutStr h new _ -> return () |