diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-02-03 11:22:25 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-02-03 11:22:25 -0800 |
commit | 5439e29dd9d897c0c65bc7f9f126038ca36475cb (patch) | |
tree | 3e3bdecbdaca1bb1cdf9c41b60676f3b42cdd4a0 | |
parent | d777fe8bbecc3320cf95754dbe7f9eee21876770 (diff) | |
download | pandoc-5439e29dd9d897c0c65bc7f9f126038ca36475cb.tar.gz |
C -> c.
-rw-r--r-- | src/Text/Pandoc/ImageSize.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/ImageSize.hs b/src/Text/Pandoc/ImageSize.hs index 0a811d545..f21284dac 100644 --- a/src/Text/Pandoc/ImageSize.hs +++ b/src/Text/Pandoc/ImageSize.hs @@ -138,7 +138,7 @@ imageSize opts img = Just Jpeg -> jpegSize img Just Svg -> mbToEither "could not determine SVG size" $ svgSize opts img Just Eps -> mbToEither "could not determine EPS size" $ epsSize img - Just Pdf -> mbToEither "Could not determine PDF size" $ pdfSize img + Just Pdf -> mbToEither "could not determine PDF size" $ pdfSize img Nothing -> Left "could not determine image type" where mbToEither msg Nothing = Left msg mbToEither _ (Just x) = Right x |