From c24b7991aa48c8628308ffddd22cee23e3126926 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Fri, 8 Jun 2012 11:12:56 -0700
Subject: [PATCH] Fixed shadowing warning.

---
 src/Text/Pandoc/Biblio.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)