Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f26af7

Browse files
committed
- add comment about $CUSTOM_BUTTONS
- use_icon(): fix the check for whether a supplemental link is being used
1 parent 3bbd115 commit 3f26af7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/perl/l2hinit.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ sub custom_driver_hook {
109109
}
110110

111111

112+
# $CUSTOM_BUTTONS is only used for the module index link.
112113
$CUSTOM_BUTTONS = '';
113114

114115
sub make_nav_sectref($$$) {
@@ -163,7 +164,7 @@ ($)
163164

164165
sub use_icon($$$) {
165166
my($rel,$str,$title) = @_;
166-
if ($title) {
167+
if ($str) {
167168
my $s = "$str";
168169
if ($s =~ /\<tex2html_([a-z_]+)_visible_mark\>/) {
169170
my $r = get_my_icon($1);

0 commit comments

Comments
 (0)