Permalink
Browse files

Fixed shadowing warning.

  • Loading branch information...
jgm committed Jun 8, 2012
1 parent 9fc72d1 commit c24b7991aa48c8628308ffddd22cee23e3126926
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit c24b799

Please sign in to comment.