aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-05-08 11:31:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-05-08 11:31:00 -0700
commitb8231a8eca63e887247c8070f59b8d9e6cbd669c (patch)
treed1b0e7e9b7c8e118f5a6477acc11f65301defd35 /src
parent83fb9d549542b12c14e48cda3a8ce4809466386c (diff)
downloadpandoc-b8231a8eca63e887247c8070f59b8d9e6cbd669c.tar.gz
Fixed bug in uriPathToPath for Windows.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Shared.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 82ac32980..26b01bc90 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -644,7 +644,7 @@ uriPathToPath path =
#ifdef _WINDOWS
case path of
'/':ps -> ps
- _ -> p
+ ps -> ps
#else
path
#endif