From 340c52572212a1918a8ac1e5faac8cb5a5cc079a Mon Sep 17 00:00:00 2001 From: defanor Date: Sun, 24 Dec 2017 22:58:37 +0300 Subject: Fix a typo --- Pancake.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Pancake.hs') diff --git a/Pancake.hs b/Pancake.hs index 4b2fd7e..160e0d5 100644 --- a/Pancake.hs +++ b/Pancake.hs @@ -173,7 +173,7 @@ loadDocument sType rawURI = do ((shell ev) { env = Just (("FILE", tmpPath) : curEnv) }) $ \_ _ _ p -> waitForProcess p when (ec /= ExitSuccess) $ - putErrLn $ "An error occured. Exit code: " ++ show ec + putErrLn $ "An error occurred. Exit code: " ++ show ec pure (effectiveURI, mzero) -- | Visits an URI, updates history accordingly. -- cgit v1.2.3