summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-29 19:28:46 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-29 19:28:46 -0400
commitb0a7b2f3d7e62d35668a42dab2256505e68515f1 (patch)
treee7da3ac81f1e3551522a7b84f8692019b797d192
parent4152dca09e6a7d9b0da81cb5ac6f76e8f05d2a23 (diff)
teximg: Fix logurl.
-rw-r--r--IkiWiki/Plugin/teximg.pm2
-rw-r--r--debian/changelog1
2 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/teximg.pm b/IkiWiki/Plugin/teximg.pm
index 0753a9a77..29c1057f3 100644
--- a/IkiWiki/Plugin/teximg.pm
+++ b/IkiWiki/Plugin/teximg.pm
@@ -76,7 +76,7 @@ sub create ($$$) { #{{{
will_render($params->{page}, $imglog);
my $imgurl=urlto($imglink, $params->{destpage});
- my $logurl=urlto($imglink, $params->{destpage});
+ my $logurl=urlto($imglog, $params->{destpage});
if (-e "$config{destdir}/$imglink" ||
gen_image($code, $height, $digest, $params->{page})) {
diff --git a/debian/changelog b/debian/changelog
index fb448e7dd..16c5fa65c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ ikiwiki (2.48) UNRELEASED; urgency=low
* Passwords will no longer be mailed, but instead a password reset link
mailed.
* The password_cost config setting is provided as a "more security" knob.
+ * teximg: Fix logurl.
-- Joey Hess <joeyh@debian.org> Wed, 28 May 2008 03:07:37 -0400