- add comment about $CUSTOM_BUTTONS
- use_icon(): fix the check for whether a supplemental link is being
used
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 @@
}
+# $CUSTOM_BUTTONS is only used for the module index link.
$CUSTOM_BUTTONS = '';
sub make_nav_sectref($$$) {
@@ -163,7 +164,7 @@
sub use_icon($$$) {
my($rel,$str,$title) = @_;
- if ($title) {
+ if ($str) {
my $s = "$str";
if ($s =~ /\<tex2html_([a-z_]+)_visible_mark\>/) {
my $r = get_my_icon($1);