From 3f26af765d0e892f04882c9c7d3b4950bdde5569 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 13 Jan 2004 23:43:58 +0000 Subject: - add comment about $CUSTOM_BUTTONS - use_icon(): fix the check for whether a supplemental link is being used --- Doc/perl/l2hinit.perl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index 87f73db..e955e7c 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -109,6 +109,7 @@ sub custom_driver_hook { } +# $CUSTOM_BUTTONS is only used for the module index link. $CUSTOM_BUTTONS = ''; sub make_nav_sectref($$$) { @@ -163,7 +164,7 @@ sub unlinkify($) { sub use_icon($$$) { my($rel,$str,$title) = @_; - if ($title) { + if ($str) { my $s = "$str"; if ($s =~ /\/) { my $r = get_my_icon($1); -- cgit v0.12