Fixed warning.
commit5ae48b7eaf55de42f55d885673a394af7de89641
authorJohn MacFarlane <jgm@berkeley.edu>
dateSun 12 Apr 2015, 21:59 (12 years ago)
parent0439f6f
src/Text/Pandoc/PDF.hs+1−1
@@ -122,7 +122,7 @@ convertImage tmpdir fname =
122122 Just "application/pdf" -> doNothing
123123 _ -> JP.readImage fname >>= \res ->
124124 case res of
125− Left msg -> return $ Left $ "Unable to convert `" ++
125+ Left _ -> return $ Left $ "Unable to convert `" ++
126126 fname ++ "' for use with pdflatex."
127127 Right img ->
128128 E.catch (Right fileOut <$ JP.savePngImage fileOut img) $