Commit 3f26af76 authored by Fred Drake's avatar Fred Drake

- add comment about $CUSTOM_BUTTONS

- use_icon(): fix the check for whether a supplemental link is being
  used
parent 3bbd1157
...@@ -109,6 +109,7 @@ sub custom_driver_hook { ...@@ -109,6 +109,7 @@ sub custom_driver_hook {
} }
# $CUSTOM_BUTTONS is only used for the module index link.
$CUSTOM_BUTTONS = ''; $CUSTOM_BUTTONS = '';
sub make_nav_sectref($$$) { sub make_nav_sectref($$$) {
...@@ -163,7 +164,7 @@ sub unlinkify($) { ...@@ -163,7 +164,7 @@ sub unlinkify($) {
sub use_icon($$$) { sub use_icon($$$) {
my($rel,$str,$title) = @_; my($rel,$str,$title) = @_;
if ($title) { if ($str) {
my $s = "$str"; my $s = "$str";
if ($s =~ /\<tex2html_([a-z_]+)_visible_mark\>/) { if ($s =~ /\<tex2html_([a-z_]+)_visible_mark\>/) {
my $r = get_my_icon($1); my $r = get_my_icon($1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment