aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-06-08 11:12:56 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-06-08 11:12:56 -0700
commitc24b7991aa48c8628308ffddd22cee23e3126926 (patch)
tree9e5202a1cf641c76bc4aa848eb3299230c654e8c
parent9fc72d1ff2ca2afcf8921e5250c4267e989895e0 (diff)
downloadpandoc-c24b7991aa48c8628308ffddd22cee23e3126926.tar.gz
Fixed shadowing warning.
-rw-r--r--src/Text/Pandoc/Biblio.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Biblio.hs b/src/Text/Pandoc/Biblio.hs
index 38366ee26..cece13fba 100644
--- a/src/Text/Pandoc/Biblio.hs
+++ b/src/Text/Pandoc/Biblio.hs
@@ -138,7 +138,7 @@ toCslCite c
("",(x:_),AuthorInText) | not (isPunct x)
-> [Str ",",Space] ++ s
_ -> s
- isPunct (Str (c:_)) = isPunctuation c
+ isPunct (Str (x:_)) = isPunctuation x
isPunct _ = False
citMode = case citationMode c of
AuthorInText -> (True, False)