From 866dffab8c4a67134190a26343a8ab20be8662b5 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 26 Feb 2012 12:01:52 +0100 Subject: Fix a typo. --- src/mulk/benki/wiki.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mulk/benki/wiki.clj b/src/mulk/benki/wiki.clj index 45affee..27a7c00 100644 --- a/src/mulk/benki/wiki.clj +++ b/src/mulk/benki/wiki.clj @@ -47,7 +47,7 @@ (fn [x] (let [parens? (and (.startsWith x "(") (.endsWith x ")")) uri (if parens? - (subs x 1 (- (count subs) 2)) + (subs x 1 (- (count x) 2)) x)] (fmt nil "~a~a~a" (if parens? "(" "") -- cgit v1.2.3