From b7b93d76097b55515d62b2c2e131cb439a41c0f0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 20 Sep 2018 21:29:08 -0700 Subject: Fix compiler warning. --- src/Text/Pandoc/Writers/ConTeXt.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs index 4947d7f79..1f9760442 100644 --- a/src/Text/Pandoc/Writers/ConTeXt.hs +++ b/src/Text/Pandoc/Writers/ConTeXt.hs @@ -456,7 +456,7 @@ inlineToConTeXt (Image attr@(_,cls,_) _ (src, _)) = do -- Use / for path separators on Windows; see #4918 fixPathSeparators = map $ \c -> case c of '\\' -> '/' - c -> c + _ -> c src' = fixPathSeparators $ if isURI src then src -- cgit v1.2.3