Fixed shadowing warning.

This commit is contained in:
John MacFarlane 2012-06-08 11:12:56 -07:00
parent 9fc72d1ff2
commit c24b7991aa

View file

@ -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)