From: Reinhold Kainhofer Date: Mon, 11 Aug 2008 18:53:43 +0000 (+0200) Subject: texi2html: Fix top-node detection (so we can display the manual name instead of ... X-Git-Tag: release/2.11.58-1~32^2~64^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=08738e39089a59f864f1be74595b8a1407bf22d2;p=lilypond.git texi2html: Fix top-node detection (so we can display the manual name instead of "Top") --- diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index 2483e0f201..d8b61463a4 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -360,7 +360,7 @@ sub lilypond_external_ref($$$$$$) # 3) In all other cases use the section name if ($cross_ref ne '') { $displaytext = $cross_ref; - } elsif (($section eq '') or ($displaytext eq 'Top')) { + } elsif (($section eq '') or ($section eq 'Top')) { $displaytext = $book; } else { $displaytext = $section;