Fix compiler warning.

This commit is contained in:
John MacFarlane 2018-09-20 21:29:08 -07:00
parent f57a8aa655
commit b7b93d7609

View file

@ -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